My Snippets
My Collections
Search Engine
Pricing
Community
Untitled
unknown
plain_text
a year ago
112 B
0
Indexable
#include <iostream> int main() { uint64_t n; std::cin >> n; std::cout << n * (n + 1) / 2 << "\n"; }