Borderou de evaluare (job #585469)

Utilizator avatar Yusyboss Fares Yusuf Yusyboss IP ascuns
Problemă Reginald Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 11 mar. 2021 13:09:24 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:23: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=] 30 | fscanf(fin, "%d%d%d", &a[i], &b[i], &x[i]); | ~^ ~~~~~ | | | | int* short int* | %hd main.cpp:26:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 26 | fscanf(fin, "%d", &n); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:30:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 30 | fscanf(fin, "%d%d%d", &a[i], &b[i], &x[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 849 ms 20312 kb OK 10
2 978 ms 21749 kb OK 10
3 2229 ms 34500 kb OK 10
4 2309 ms 34385 kb Time limit exceeded 0
5 2306 ms 34402 kb Time limit exceeded 0
6 2307 ms 34275 kb Time limit exceeded 0
7 2302 ms 34373 kb Time limit exceeded 0
8 2300 ms 34410 kb Time limit exceeded 0
9 2305 ms 34410 kb Time limit exceeded 0
10 2307 ms 34390 kb Time limit exceeded 0
Punctaj total 30