Borderou de evaluare (job #663764)

Utilizator avatar DobraVictor Dobra Victor DobraVictor IP ascuns
Problemă Missing Numbers Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 25 sept. 2022 10:51:44 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:16:20: warning: format '%li' expects argument of type 'long int*', but argument 3 has type 'int64_t*' {aka 'long long int*'} [-Wformat=] 16 | fscanf(fin, "%li", &n); | ~~^ ~~ | | | | | int64_t* {aka long long int*} | long int* | %lli main.cpp:49:22: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'int64_t' {aka 'long long int'} [-Wformat=] 49 | fprintf(fout, "%li", baseResult); | ~~^ ~~~~~~~~~~ | | | | | int64_t {aka long long int} | long int | %lli main.cpp:16:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%li", &n); | ~~~~~~^~~~~~~~~~~~~~~~ main.cpp:18:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%hi", v + i); | ~~~~~~^~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 118 kb Killed by Signal 11 0
2 1 ms 118 kb Killed by Signal 11 0
3 1 ms 118 kb Killed by Signal 11 0
4 1 ms 118 kb Killed by Signal 11 0
5 1 ms 118 kb Killed by Signal 11 0
6 1 ms 118 kb Killed by Signal 11 0
7 1 ms 118 kb Killed by Signal 11 0
8 1 ms 114 kb Killed by Signal 11 0
9 1 ms 114 kb Killed by Signal 11 0
10 1 ms 118 kb Killed by Signal 11 0
Punctaj total 0