Borderou de evaluare (job #578285)

Utilizator avatar Yusyboss Fares Yusuf Yusyboss IP ascuns
Problemă Tancuri (clasa a 9-a) Compilator cpp-32
Rundă Concurs clasa a 9-a Status evaluat
Dată 16 ian. 2021 11:22:21 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void bkt(int)': main.cpp:12:11: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 12 | if (poz == n) { | ~~~~^~~~ main.cpp:11:7: warning: unused variable 'i' [-Wunused-variable] 11 | int i, cop; | ^ main.cpp:11:10: warning: unused variable 'cop' [-Wunused-variable] 11 | int i, cop; | ^~~ main.cpp: In function 'int main()': main.cpp:35:17: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=] 35 | fscanf(fin, "%d", &n); | ~^ ~~ | | | | | long long unsigned int* | int* | %lld main.cpp:37:17: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 37 | for (i = 0; i < n; i++) { | ~~^~~ main.cpp:38:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=] 38 | fscanf(fin, "%d", &v[i]); | ~^ ~~~~~ | | | | | long long unsigned int* | int* | %lld main.cpp:30:16: warning: unused variable 'p10' [-Wunused-variable] 30 | int i, q, x, p10; | ^~~ main.cpp:35:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 35 | fscanf(fin, "%d", &n); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:38:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 38 | fscanf(fin, "%d", &v[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:47:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 47 | fscanf(fin, "%d", &q); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:50:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 50 | fscanf(fin, "%d", &x); | ~~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb Incorect 0
2 1 ms 262 kb Incorect 0
3 1 ms 262 kb Incorect 0
4 1 ms 262 kb Incorect 0
5 29 ms 262 kb Incorect 0
6 106 ms 262 kb Time limit exceeded 0
7 101 ms 262 kb Time limit exceeded 0
8 101 ms 262 kb Time limit exceeded 0
9 109 ms 262 kb Time limit exceeded 0
10 101 ms 262 kb Time limit exceeded 0
Punctaj total 0