Borderou de evaluare (job #585529)

Utilizator avatar Yusyboss Fares Yusuf Yusyboss IP ascuns
Problemă Reginald Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 11 mar. 2021 19:23:44 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:23: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=] 29 | fscanf(fin, "%d%d%d", &a[i], &b[i], &x[i]); | ~^ ~~~~~ | | | | int* short int* | %hd main.cpp:25:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 25 | fscanf(fin, "%d", &n); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:29:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 29 | fscanf(fin, "%d%d%d", &a[i], &b[i], &x[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 858 ms 20312 kb Incorect 0
2 997 ms 21487 kb Incorect 0
3 2303 ms 30441 kb Time limit exceeded 0
4 2308 ms 30433 kb Time limit exceeded 0
5 2306 ms 30461 kb Time limit exceeded 0
6 2306 ms 30437 kb Time limit exceeded 0
7 2308 ms 30474 kb Time limit exceeded 0
8 2303 ms 30347 kb Time limit exceeded 0
9 2307 ms 30457 kb Time limit exceeded 0
10 2303 ms 30437 kb Time limit exceeded 0
Punctaj total 0