← Back to List
8393번: 합 ↗
Solutions
C++14
95 B | 95 chars
#include <iostream> using namespace std; int N; int main() { cin>>N; cout<<N*(N+1)/2; }