Borderou de evaluare (job #2551960)

Utilizator giotoPopescu Ioan gioto Data 20 februarie 2020 14:00:11
Problema Atlas Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:134:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] printf("%d %d/%d\n", ans[i].L, ans[i].H.x, ans[i].H.y); ^ main.cpp:134:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] main.cpp:90:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("atlas.in", "r", stdin); ^ main.cpp:91:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("atlas.out", "w", stdout); ^ main.cpp:93:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:98:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:99:50: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n ; ++i) scanf("%d", &a[i]); ^ main.cpp:101:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ main.cpp:103:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &Q[i].x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
153ms655kbOK10
260ms655kbOK10
3843ms10645kbIncorect0
4830ms10698kbIncorect0
5817ms10641kbIncorect0
6805ms11141kbIncorect0
7843ms11272kbIncorect0
8832ms11096kbIncorect0
9811ms10629kbIncorect0
10813ms11141kbIncorect0
Punctaj total20

Ceva nu functioneaza?