Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7204 - Эхний n тооны нийлбэр

Эхний n тооны нийлбэрийг тодорхой давталт ашиглан ол.

Input

Int төрлийн эерэг бүхэл тоо өгөгдөнө.

Output

1-ээс n тооны нийлбэр.

Example

Input:
5

Output:
15

Нэмсэн:Bataa
Огноо:2011-06-12
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2024-05-22 11:42:09
Anand you gay
2024-05-22 10:12:34
#include<bits/stdc++.h>
using namespace std;
int main(){
long i, n, s=0;
cin>>n;
for(i=1; i<=n; i++){
s=s+i;
} cout<<s;
}
2024-05-03 04:41:31
purvee boloo chii hylhaa bagshd heliii shyy
2024-04-12 04:01:55
⣈⠒⢿⣦⣀⡀⠀⠀⠀⠀⠀⠸⣦⣑⢿⣦⡀⠀⢀⣿⢊⠷⠰⠜⠋⠒⠒⠒⠀⠐⠤⠤⣴⠞⣱⣻⣷⡶⠋⢀⠔⠋⠀⠀⠀⠀⠀⠀⠀⠀
⠛⠿⣶⣬⣙⡻⢷⣶⣦⣄⡀⠀⠈⢻⣧⣼⣿⠿⠛⠉⠀⠀⡀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⢈⡿⠋⣠⣴⡟⠀⠀⠀⠀⠀⢀⣀⡤⠔⢊
⠀⠀⠀⠉⠙⠛⠷⣦⣝⡻⢿⣶⣤⣴⣿⡿⠁⠀⢀⠀⠀⡀⠐⠒⡀⠈⡔⠀⠂⢌⡃⠠⠀⠰⠋⠀⠀⠉⠈⠆⡀⣀⣤⠴⠚⡋⠡⠔⠊⠁
⣀⣀⠀⠀⠀⠀⠀⠀⠉⠻⢷⣶⣯⡿⠋⠀⠀⡐⠀⠠⠁⠐⠈⢫⣁⠰⠤⢘⡰⠎⢄⠂⠁⠀⠀⠀⠀⠀⠀⠀⠙⣡⡴⠖⠋⢀⠒⡒⢆⡀
⠉⠉⠙⠛⠒⠞⠿⠷⢶⣦⣴⡿⠋⠀⠀⠀⡔⠀⠠⠑⠀⠌⠐⡀⢻⡴⢀⡖⢉⡒⠈⠀⢠⠈⠐⠀⠂⠠⠀⠀⠀⠰⣄⠠⡁⠀⠀⠀⠂⠉
⠉⠀⠀⠒⠂⠤⢤⣤⣤⣤⠏⠀⠀⠀⠀⠁⠀⠠⠁⡐⠈⠀⠠⠐⠈⢴⡜⠛⠀⢀⡰⣎⢳⡇⠏⠰⠂⠁⠀⠀⠀⠀⢬⡀⠀⠄⠀⠀⠀⣀
⣀⣀⣀⣤⣤⡴⢶⣿⣯⠀⠀⠀⠀⢀⠀⠄⠂⠠⠄⢀⠀⠀⠀⠀⡐⡀⠐⠤⣞⣉⡀⣄⢀⣄⢠⡐⠤⠀⢡⠀⠀⠀⢸⣿⡿⠶⣡⢦⡱⡞
⠲⠶⠶⠶⠶⠶⢿⣿⣿⠀⠀⠀⠀⠀⡌⢠⡰⣥⡶⣢⡐⠀⠄⠐⠰⢯⣷⣤⡀⠙⠛⢈⠘⡻⡄⡗⠈⠁⡀⠄⠈⠀⣸⣟⡃⢀⠀⠉⠁⠀
⠀⠀⠀⠀⠀⠀⢠⣿⡇⠀⠀⡀⠀⠘⡃⠸⠅⢉⡴⠁⢀⠁⠂⢶⠻⡷⠾⣍⣛⠁⣠⠄⡀⢀⠀⠀⠄⢁⣠⠀⠄⠀⣿⣶⣮⣭⣍⣉⣓⠒
⠀⠀⣀⣠⣤⣶⣿⣿⠀⣠⠐⠀⡈⠥⣰⠆⠙⢀⡰⠌⠠⣖⣳⡾⣿⡷⡶⡞⠌⣴⣣⠀⢳⡠⠈⠄⠂⣼⠇⠀⠀⢠⣿⣿⣧⣈⠁⠉⠁⠈
⡾⢟⣛⣭⣵⣶⣿⣟⠀⠁⡀⢆⡐⠀⣁⡤⠚⠝⢂⡛⠥⣮⣽⡟⣁⢍⣡⠶⡆⠀⢥⢃⠀⠡⠴⡀⢢⣿⠂⠀⠀⣼⣷⣭⡙⠻⢷⣶⣄⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣤⡀⠉⣩⣴⠾⣍⣤⡀⠈⠌⡛⠇⡈⠴⢻⡇⠚⠉⡃⠠⠄⠂⠸⠟⠅⠠⣰⠟⠁⠀⡀⠰⠟⣹⣿⠿⢿⣶⣦⣍⡃
⣿⠻⢩⠓⢯⣿⠿⠟⣫⣵⣾⣿⣧⠏⠑⠢⠽⣿⣷⣒⣶⣿⣷⣶⡆⣤⣤⣐⠀⢡⡀⣅⠈⠁⡴⠃⢀⣄⡽⢛⣧⡀⢏⣿⣧⡀⠀⠉⠙⠛
⣇⠃⠀⠈⠀⠀⣴⣿⣿⢯⡿⢰⣿⣿⣶⣦⡄⣴⣼⣿⡿⣿⣿⣿⣷⣳⣿⣿⣆⠈⣣⢸⣄⠀⢰⣊⣿⣾⠠⣽⣿⢿⣷⣌⡻⢿⣦⣀⠀⠀
⠃⠀⠀⠀⢀⠀⣖⣻⣿⢸⠇⣼⣿⣿⣿⣿⣍⣳⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣜⣻⡆⢿⣦⢀⢳⣿⣿⣾⡿⣿⣿⠋⠻⢿⣦⡙⠻⣧⣄
⣶⣿⣝⡾⣴⣫⣾⣿⣿⡇⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣟⣿⡸⣿⢦⣹⣿⣳⣿⣼⡿⠃⠀⠀⠀⠈⠻⢷⣌⠹
⠛⠻⣿⣿⣿⣟⣿⠟⢹⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣟⢾⣹⣇⢹⣿⠒⢿⢿⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠻⢷
⠀⠀⠀⠉⠉⠉⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⣯⢿⣹⣎⡷⣿⡆⠻⣴⠀⢸⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈
⠀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣟⡉⣿⣯⣽⣿⣿⣿⣿⣿⣿⣿⣿⣿⢯⣷⣻⣞⣯⠷⣏⣾⣿⢿⡄⣿⡀⡼⠿⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡷⣟⣾⣽⣻⣽⡾⣣⣾⡇⠸⣿⣽⣆⠻⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⡟⢾⣿⣿⣟⣿⣿⣿⣿⣿⣿⣿⡿⣯⢿⣟⣷⣻⡾⣋⣶⣿⣿⣿⡀⢿⣿⣿⣧⣍⠻⣦⡀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣷⢰⣶⣬⣿⣿⣿⣿⣿⣿⡿⣯⣿⣽⣿⡾⠟⣡⣶⣿⣿⣿⣯⢿⣇⠘⣿⣿⣿⣾⣷⣎⠿⣧⣄⡀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣧⡹⢿⣿⣿⣿⣿⣿⣿⡿⠿⠛⢋⣁⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⡄⠸⣿⢿⣿⣿⣾⣷⣞⡽⢿⣦⡀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣶⣽⣏⣿⣿⣯⢽⣿⠉⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⢿⣇⠀⠹⣇⡺⣟⣿⣿⣿⣷⣏⡿⣿⣆
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⢺⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣭⢿⡿⠀⠀⢿⣷⢯⣿⣿⣿⣿⣿⣿⣾⡽
6b

Last edit: 2024-04-12 04:02:58
2024-04-08 03:36:04
⣈⠒⢿⣦⣀⡀⠀⠀⠀⠀⠀⠸⣦⣑⢿⣦⡀⠀⢀⣿⢊⠷⠰⠜⠋⠒⠒⠒⠀⠐⠤⠤⣴⠞⣱⣻⣷⡶⠋⢀⠔⠋⠀⠀⠀⠀⠀⠀⠀⠀
⠛⠿⣶⣬⣙⡻⢷⣶⣦⣄⡀⠀⠈⢻⣧⣼⣿⠿⠛⠉⠀⠀⡀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⢈⡿⠋⣠⣴⡟⠀⠀⠀⠀⠀⢀⣀⡤⠔⢊
⠀⠀⠀⠉⠙⠛⠷⣦⣝⡻⢿⣶⣤⣴⣿⡿⠁⠀⢀⠀⠀⡀⠐⠒⡀⠈⡔⠀⠂⢌⡃⠠⠀⠰⠋⠀⠀⠉⠈⠆⡀⣀⣤⠴⠚⡋⠡⠔⠊⠁
⣀⣀⠀⠀⠀⠀⠀⠀⠉⠻⢷⣶⣯⡿⠋⠀⠀⡐⠀⠠⠁⠐⠈⢫⣁⠰⠤⢘⡰⠎⢄⠂⠁⠀⠀⠀⠀⠀⠀⠀⠙⣡⡴⠖⠋⢀⠒⡒⢆⡀
⠉⠉⠙⠛⠒⠞⠿⠷⢶⣦⣴⡿⠋⠀⠀⠀⡔⠀⠠⠑⠀⠌⠐⡀⢻⡴⢀⡖⢉⡒⠈⠀⢠⠈⠐⠀⠂⠠⠀⠀⠀⠰⣄⠠⡁⠀⠀⠀⠂⠉
⠉⠀⠀⠒⠂⠤⢤⣤⣤⣤⠏⠀⠀⠀⠀⠁⠀⠠⠁⡐⠈⠀⠠⠐⠈⢴⡜⠛⠀⢀⡰⣎⢳⡇⠏⠰⠂⠁⠀⠀⠀⠀⢬⡀⠀⠄⠀⠀⠀⣀
⣀⣀⣀⣤⣤⡴⢶⣿⣯⠀⠀⠀⠀⢀⠀⠄⠂⠠⠄⢀⠀⠀⠀⠀⡐⡀⠐⠤⣞⣉⡀⣄⢀⣄⢠⡐⠤⠀⢡⠀⠀⠀⢸⣿⡿⠶⣡⢦⡱⡞
⠲⠶⠶⠶⠶⠶⢿⣿⣿⠀⠀⠀⠀⠀⡌⢠⡰⣥⡶⣢⡐⠀⠄⠐⠰⢯⣷⣤⡀⠙⠛⢈⠘⡻⡄⡗⠈⠁⡀⠄⠈⠀⣸⣟⡃⢀⠀⠉⠁⠀
⠀⠀⠀⠀⠀⠀⢠⣿⡇⠀⠀⡀⠀⠘⡃⠸⠅⢉⡴⠁⢀⠁⠂⢶⠻⡷⠾⣍⣛⠁⣠⠄⡀⢀⠀⠀⠄⢁⣠⠀⠄⠀⣿⣶⣮⣭⣍⣉⣓⠒
⠀⠀⣀⣠⣤⣶⣿⣿⠀⣠⠐⠀⡈⠥⣰⠆⠙⢀⡰⠌⠠⣖⣳⡾⣿⡷⡶⡞⠌⣴⣣⠀⢳⡠⠈⠄⠂⣼⠇⠀⠀⢠⣿⣿⣧⣈⠁⠉⠁⠈
⡾⢟⣛⣭⣵⣶⣿⣟⠀⠁⡀⢆⡐⠀⣁⡤⠚⠝⢂⡛⠥⣮⣽⡟⣁⢍⣡⠶⡆⠀⢥⢃⠀⠡⠴⡀⢢⣿⠂⠀⠀⣼⣷⣭⡙⠻⢷⣶⣄⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣤⡀⠉⣩⣴⠾⣍⣤⡀⠈⠌⡛⠇⡈⠴⢻⡇⠚⠉⡃⠠⠄⠂⠸⠟⠅⠠⣰⠟⠁⠀⡀⠰⠟⣹⣿⠿⢿⣶⣦⣍⡃
⣿⠻⢩⠓⢯⣿⠿⠟⣫⣵⣾⣿⣧⠏⠑⠢⠽⣿⣷⣒⣶⣿⣷⣶⡆⣤⣤⣐⠀⢡⡀⣅⠈⠁⡴⠃⢀⣄⡽⢛⣧⡀⢏⣿⣧⡀⠀⠉⠙⠛
⣇⠃⠀⠈⠀⠀⣴⣿⣿⢯⡿⢰⣿⣿⣶⣦⡄⣴⣼⣿⡿⣿⣿⣿⣷⣳⣿⣿⣆⠈⣣⢸⣄⠀⢰⣊⣿⣾⠠⣽⣿⢿⣷⣌⡻⢿⣦⣀⠀⠀
⠃⠀⠀⠀⢀⠀⣖⣻⣿⢸⠇⣼⣿⣿⣿⣿⣍⣳⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣜⣻⡆⢿⣦⢀⢳⣿⣿⣾⡿⣿⣿⠋⠻⢿⣦⡙⠻⣧⣄
⣶⣿⣝⡾⣴⣫⣾⣿⣿⡇⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣟⣿⡸⣿⢦⣹⣿⣳⣿⣼⡿⠃⠀⠀⠀⠈⠻⢷⣌⠹
⠛⠻⣿⣿⣿⣟⣿⠟⢹⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣟⢾⣹⣇⢹⣿⠒⢿⢿⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠻⢷
⠀⠀⠀⠉⠉⠉⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⣯⢿⣹⣎⡷⣿⡆⠻⣴⠀⢸⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈
⠀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣟⡉⣿⣯⣽⣿⣿⣿⣿⣿⣿⣿⣿⣿⢯⣷⣻⣞⣯⠷⣏⣾⣿⢿⡄⣿⡀⡼⠿⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡷⣟⣾⣽⣻⣽⡾⣣⣾⡇⠸⣿⣽⣆⠻⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⡟⢾⣿⣿⣟⣿⣿⣿⣿⣿⣿⣿⡿⣯⢿⣟⣷⣻⡾⣋⣶⣿⣿⣿⡀⢿⣿⣿⣧⣍⠻⣦⡀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣷⢰⣶⣬⣿⣿⣿⣿⣿⣿⡿⣯⣿⣽⣿⡾⠟⣡⣶⣿⣿⣿⣯⢿⣇⠘⣿⣿⣿⣾⣷⣎⠿⣧⣄⡀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣧⡹⢿⣿⣿⣿⣿⣿⣿⡿⠿⠛⢋⣁⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⡄⠸⣿⢿⣿⣿⣾⣷⣞⡽⢿⣦⡀⠀
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣶⣽⣏⣿⣿⣯⢽⣿⠉⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⢿⣇⠀⠹⣇⡺⣟⣿⣿⣿⣷⣏⡿⣿⣆
⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⢺⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣭⢿⡿⠀⠀⢿⣷⢯⣿⣿⣿⣿⣿⣿⣾⡽
2024-04-08 03:35:27
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡤⣤⣤⡤⠴⠖⠒⠒⠒⠒⠛⠛⠓⠒⠒⠒⠒⠒⠚⠿⢯⣥⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⠾⠻⣧⣄⠉⠛⠶⣦⣄⣀⠀⠀⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠛⠷⣦⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⣠⣾⠛⠉⠀⠀⠀⠀⠙⠳⢶⣤⣄⠉⠉⠉⠉⠉⢉⣉⣉⣉⣉⠛⠂⠀⠀⠀⠀⠀⠀⣀⣠⣤⠉⠙⢷⣆⢀⡀⠀⠀⠀⠀
⠀⠀⠀⢀⣴⡾⠋⠀⠀⠀⠀⠀⡤⠀⠀⣀⡀⠀⠉⠛⠻⣶⣄⠹⣟⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠀⢸⣇⢻⡄⠀⠀⢹⣿⢹⠀⠀⠀⠀
⠀⠀⣠⡿⠋⠀⠀⠀⠀⠀⣠⡾⠃⠀⣰⡟⠀⠀⠀⠀⠀⠈⠻⣦⠻⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⣎⢿⣆⠀⢀⡿⢸⣧⠀⠀⠀
⢀⣾⠏⠀⠀⣀⣄⠀⠀⣠⡿⠁⣠⡾⠋⠀⠀⠀⠀⠀⠀⠀⠀⠹⣧⠘⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢿⣤⡻⠦⠼⠃⢸⠿⣇⠀⠀
⢸⡏⠀⠀⠸⣿⡝⠿⠾⠋⢀⣼⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣷⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢿⣆⠀⢀⡾⠀⢹⡆⠀
⣿⠀⠀⠀⠀⠘⣷⡄⠀⢠⡿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠿⠿⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⡆⢸⣇⠀⠈⣿⠀
⣿⠀⠀⠀⠀⠀⢻⣧⢀⣾⠁⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⡀⠀⠀⠀⢀⣤⡄⠀⠀⠀⠀⠀⠀⠀⣀⠀⠀⠀⠀⣸⡟⢀⣙⡛⠶⣿⣇
⣿⠀⠀⠀⠀⠀⠸⣿⡈⢿⣦⡀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠛⠛⠻⢶⣶⡞⠉⠀⠀⠀⠀⠀⠀⠀⠘⠛⠛⠶⣦⣾⠟⣱⡿⠛⠛⠛⣿⣿
⣿⡄⠀⠀⠀⠀⠀⠙⠿⣦⣝⣻⣶⡾⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢻⣶⡄⠀⠀⠀⠀⣀⠀⠀⠀⠀⠀⠈⠹⣿⡋⠀⠀⠀⢠⣿⢿
⠛⣷⡀⠀⠀⠀⠀⠀⠀⠀⠹⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠙⢿⣶⠶⠞⠛⠉⠀⠐⠶⠶⠶⢶⣦⣼⣷⡀⠀⠀⣸⠃⠐
⠀⢸⣧⠀⠀⠀⠀⠀⠀⠀⣼⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠻⠿⣦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠛⢿⣦⣠⡏⠀⠀
⠀⠀⢻⣧⠀⠀⠀⠀⠀⢠⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣿⡇⠀⠀
⠀⠀⠈⣿⡇⠀⠀⠀⣀⡞⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⠀⠀⠈⢿⡆⠀⠀⣀⣀⣀⣀⣀⣀⠀⢸⣷⡄⠀
⠀⠀⠀⢿⡇⠀⠀⣴⠟⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⣤⡶⠾⠛⢛⣿⠛⢻⣿⣯⡍⠙⠛⠷⢶⣼⣿⠿⠟⢛⡿⢿⣿⣿⡛⠻⢾⣿⡇⠀
⠀⠀⠀⣿⡇⠀⠀⠉⠀⠀⠀⠀⠀⠀⠀⠀⠸⣿⣽⣟⠁⠀⠀⠀⠘⣿⣶⣿⣿⣿⡿⠀⠀⠀⠀⡿⠁⠀⠀⢻⣦⣴⣿⣿⡟⠀⢈⣿⡇⠀
⠀⠀⠀⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠳⢦⣤⣤⣀⣀⠙⠛⠛⠉⠀⣀⣀⣠⣼⣧⣄⣀⣀⣈⡛⢻⢛⣛⣠⣤⣼⣿⡇⠀
⠀⠀⠀⢿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣶⣶⣤⣄⡀⠉⠉⠉⠙⠛⠛⠛⠋⠉⠉⠉⠁⠉⠻⣿⡉⠉⠉⠉⠉⠉⠉⠉⢱⡿⣷⠄
⠀⠀⠀⢸⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⡿⠋⠁⢀⣄⠈⠉⠛⠶⢶⣶⣦⣤⣤⣀⣀⡀⠀⠀⠀⠀⠀⠘⢿⡄⢀⣀⣀⣤⣤⡄⢺⡟⠁⠀
⠀⠀⠀⠀⢻⣧⠀⠀⠀⠀⠀⠀⠀⠀⢻⣧⠁⠀⠈⠙⠻⢷⣦⣤⣀⣀⠀⠀⠉⠉⠉⠙⠛⠻⠿⠿⠿⠟⠛⠛⠋⠉⠉⠉⠉⣿⣿⠃⠀⠀
⠀⠀⠀⠀⠀⠹⣧⡀⠀⠀⠀⠀⠀⠀⠀⠻⢷⣤⣀⣀⠀⠀⠀⠈⠉⠛⠻⠿⠿⣿⣶⣶⣶⣶⣶⣶⣶⡶⠾⠿⠿⠿⠿⢿⣰⣿⣿⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠈⠻⣦⣀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠻⠿⠶⢶⣤⣄⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣤⣴⠶⠿⢛⣽⠃⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠈⠛⠷⢦⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠛⠛⠛⠛⠛⠛⠋⠉⠉⠉⢀⣀⣀⣴⠿⠃⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠛⠶⣶⣤⣤⣤⣤⣤⣤⣤⣀⣠⣠⣤⣤⣤⣤⣤⣤⣤⣤⣴⣶⠶⠞⠛⠋⠉⠀⠀⠀⠀⠀⠀⠀
2024-03-25 04:30:46
#include<bits/stdc++.h>
using namespace std;
int main(){
long i, n, s=0;
cin>>n;
for(i=1; i<=n; i++){
s=s+i;
} cout<<s;
}

2024-03-25 04:10:44
hghghg
[p
[p
p
2024-03-25 04:10:44
hghghg
[p
[p
p
2024-03-25 04:10:44
hghghg
[p
[p
p
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.