Borderou de evaluare (job #1674773)

Utilizator tziplea_stefanTiplea Stefan tziplea_stefan Data 4 aprilie 2016 20:49:48
Problema Rox Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d %d %c\n", &l1, &c1, &l2, &c2, &c); ^ user.cpp:22:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:22:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:22:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:104:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d", &l1, &c1); ^ user.cpp:104:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.in", "r", stdin); ^ user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.out", "w", stdout); ^ user.cpp:19:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &N, &M, &U); ^ user.cpp:22:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %c\n", &l1, &c1, &l2, &c2, &c); ^ user.cpp:101:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Q); ^ user.cpp:104:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &l1, &c1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1192msDepăşitMemory limit exceeded.0
2144msDepăşitMemory limit exceeded.0
360msDepăşitMemory limit exceeded.0
464msDepăşitMemory limit exceeded.0
556msDepăşitMemory limit exceeded.0
672msDepăşitMemory limit exceeded.0
764msDepăşitMemory limit exceeded.0
868msDepăşitMemory limit exceeded.0
9180msDepăşitMemory limit exceeded.0
10168msDepăşitMemory limit exceeded.0
11196msDepăşitMemory limit exceeded.0
12308msDepăşitMemory limit exceeded.0
13248msDepăşitMemory limit exceeded.0
14260msDepăşitMemory limit exceeded.0
15Depăşit4208kbTime limit exceeded.0
16Depăşit4204kbTime limit exceeded.0
17Depăşit4200kbTime limit exceeded.0
18Depăşit4180kbTime limit exceeded.0
19Depăşit4184kbTime limit exceeded.0
20Depăşit4184kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?