Borderou de evaluare (job #578286)

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:28:40 Scor 10

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:40:17: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=] 40 | fscanf(fin, "%d", &n); | ~^ ~~ | | | | | long long unsigned int* | int* | %lld main.cpp:42:17: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 42 | for (i = 0; i < n; i++) { | ~~^~~ main.cpp:43:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=] 43 | fscanf(fin, "%d", &v[i]); | ~^ ~~~~~ | | | | | long long unsigned int* | int* | %lld main.cpp:35:16: warning: unused variable 'p10' [-Wunused-variable] 35 | int i, q, x, p10; | ^~~ main.cpp:40:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 40 | fscanf(fin, "%d", &n); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:43:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 43 | fscanf(fin, "%d", &v[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:52:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 52 | fscanf(fin, "%d", &q); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:55:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 55 | fscanf(fin, "%d", &x); | ~~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb Incorect 0
3 1 ms 262 kb Incorect 0
4 1 ms 262 kb Incorect 0
5 24 ms 262 kb Incorect 0
6 100 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 108 ms 262 kb Time limit exceeded 0
10 103 ms 262 kb Time limit exceeded 0
Punctaj total 10