Borderou de evaluare (job #692864)

Utilizator avatar teonic Teodorescu Nicolas Alexandru teonic IP ascuns
Problemă Partit (clasele 11-12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 4 feb. 2023 15:45:10 Scor 14

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 25 | fprintf( fout, "%d ", p ); | ~^ ~ | | | | int long long int | %lld main.cpp:35:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 35 | fprintf( fout, "%d ", p ); | ~^ ~ | | | | int long long int | %lld main.cpp:43:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] 43 | fscanf( fin, "%d", &p ); | ~^ ~~ | | | | | long long int* | int* | %lld main.cpp:14:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf( fin, "%d%d", &cer, &n ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:16:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf( fin, "%lld", &k ); | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:43:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | fscanf( fin, "%d", &p ); | ~~~~~~^~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Ok 9
2 506 ms 118 kb Time limit exceeded 0
3 1 ms 106 kb Incorect 0
4 516 ms 118 kb Time limit exceeded 0
5 1 ms 106 kb Incorect 0
6 503 ms 118 kb Time limit exceeded 0
7 1 ms 114 kb Incorect 0
8 503 ms 114 kb Time limit exceeded 0
9 1 ms 114 kb Incorect 0
10 504 ms 118 kb Time limit exceeded 0
11 1 ms 110 kb Ok 5
12 504 ms 118 kb Time limit exceeded 0
Punctaj total 14