Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
RGB7070 - Нийлбэр 1 |
Өгөгдсөн натурал тоо n хүртэлх натурал тоонуудын нийлбэрийг ол.
Давталт ашиглахгүй болно.
Input
Натурал тоо n өгөгдөнө.
Output
Нийлбэр
Example
Input: 10 Output: 55
Нэмсэн: | Bataa |
Огноо: | 2013-01-06 |
Хугацааны хязгаарлалт: | 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
|
||||||||||||
2022-05-30 03:02:09
psdsa psda psda psda psasda pssda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda psda |
||||||||||||
2022-05-10 03:16:49
tsogoo suga mine |
||||||||||||
2022-05-02 16:20:20
yu ni buruu bn |
||||||||||||
2022-05-02 16:20:00
#include<stdio.h> #include<stdlib.h> #include<math.h> int main(){ printf("Tanii hariu:::"); int a,b,c,d,e; scanf("%d",&a); b=a*(a+1)/2; printf("%d",b); return 0; } |
||||||||||||
2022-04-18 15:13:50
chinii daragin bodlogo bizde |
||||||||||||
2022-04-18 15:13:37
uerhey enhjeeeeen <3 |
||||||||||||
2022-03-28 05:21:14
olsoooooodeeeeeeennaaaaaaa TvT |
||||||||||||
2022-03-25 07:02:41
#include<stdio.h> int main() { int n, s, k, a; scanf("%d", &n); s=(1+n)*n/2; printf("%d", s); return 0; } ez aripmetik progress lalruda |
||||||||||||
2022-03-16 11:30:54
int main oogiii |
||||||||||||
2022-03-07 04:36:42
dgdgd Last edit: 2022-03-07 04:36:55 |