Borderou de evaluare (job #2406591)

Utilizator marinaoprOprea Marina marinaopr Data 15 aprilie 2019 21:56:24
Problema Orase2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 64

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:48:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%ld", &cerinta); ^ main.cpp:49:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%ld%ld", &n,&x); ^ main.cpp:49:32: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:51:33: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%ld", &d[i]); ^ main.cpp:53:33: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%ld", &v[i]); ^ main.cpp:83:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] fprintf(fout, "%ld", (int)ans); ^ main.cpp:48:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ld", &cerinta); ^ main.cpp:49:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ld%ld", &n,&x); ^ main.cpp:51:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ld", &d[i]); ^ main.cpp:53:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ld", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOk2
22ms131kbOk1
32ms131kbOk1
42ms131kbOk1
55ms131kbOk3
66ms131kbOk3
78ms131kbOk4
859ms524kbOk3
984ms524kbOk3
1096ms524kbOk4
11484ms1703kbOk5
122ms131kbIncorect0
133ms131kbIncorect0
14321ms786kbIncorect0
15803ms1310kbTime limit exceeded0
16171ms524kbOk5
17370ms1048kbOk5
18746ms1703kbIncorect0
19632ms1703kbOk6
20612ms1703kbOk8
21759ms1703kbOk10
22803ms1310kbTime limit exceeded0
Punctaj total64

Ceva nu functioneaza?