Borderou de evaluare (job #1664040)

Utilizator sorynsooSorin Soo sorynsoo Data 26 martie 2016 11:49:31
Problema Geometrie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d", &crt.x, &crt.y); crt.id = 1; ^ user.cpp:49:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:55:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d", &crt.x, &crt.y); crt.id = 2; ^ user.cpp:55:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:62:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i < q.size(); i++) ^ user.cpp:64:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j < v.size(); j++) ^ user.cpp:68:49: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=] printf("%.1llf \n", arie_calc(st, nrst)); ^ user.cpp:44:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("geometrie.in", "r", stdin); ^ user.cpp:45:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("geometrie.out", "w", stdout); ^ user.cpp:46:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:49:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &crt.x, &crt.y); crt.id = 1; ^ user.cpp:55:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &crt.x, &crt.y); crt.id = 2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms320kbIncorect0
20ms308kbIncorect0
30ms324kbIncorect0
40ms320kbIncorect0
50ms320kbIncorect0
6124ms348kbIncorect0
70ms328kbIncorect0
80ms320kbIncorect0
9104ms416kbIncorect0
10Depăşit428kbTime limit exceeded.0
11436ms588kbIncorect0
12148ms740kbIncorect0
13Depăşit872kbTime limit exceeded.0
14Depăşit1416kbTime limit exceeded.0
15Depăşit3464kbTime limit exceeded.0
16Depăşit7416kbTime limit exceeded.0
17Depăşit5212kbTime limit exceeded.0
18Depăşit7336kbTime limit exceeded.0
19Depăşit8444kbTime limit exceeded.0
20Depăşit7400kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?