Borderou de evaluare (job #2279159)

Utilizator rares22iunieDoroftei Rares rares22iunie Data 8 noiembrie 2018 23:10:01
Problema Numar4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 95

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:9:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d %d",&n1,&n2); ^ main.cpp:9:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.cpp:12:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d",&x); ^ main.cpp:44:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d \n",n1); ^ main.cpp:46:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d ",a[i]); ^ main.cpp:7:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("numar4.in","r",stdin); ^ main.cpp:8:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("numar4.out","w",stdout); ^ main.cpp:9:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n1,&n2); ^ main.cpp:12:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
32ms131kbOK5
42ms131kbOK5
52ms131kbOK5
62ms131kbOK5
72ms131kbOK5
82ms131kbOK5
92ms131kbOK5
102ms131kbOK5
112ms131kbOK5
122ms131kbOK5
133ms131kbOK5
142ms131kbIncorect0
153ms131kbOK5
1622ms131kbOK5
1727ms131kbOK5
1874ms131kbOK5
192ms131kbOK5
203ms131kbOK5
Punctaj total95

Ceva nu functioneaza?