Borderou de evaluare (job #1795812)

Utilizator giotoPopescu Ioan gioto Data 2 noiembrie 2016 21:17:02
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:16:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d%d ", &l1[i], &c1[i], &l2[i], &c2[i]); ^ user.cpp:16:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:16:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:16:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:26:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(l >= l1[i] && l <= l2[i] && c >= c1[i] && c <= c2[i]) ^ user.cpp:12: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:13: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:14:32: 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:16:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d ", &l1[i], &c1[i], &l2[i], &c2[i]); ^ user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &l, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms300kbIncorect0
216ms300kbIncorect0
3116ms284kbIncorect0
4332ms280kbIncorect0
5192ms276kbIncorect0
6296ms276kbIncorect0
7256ms284kbIncorect0
8232ms280kbIncorect0
9Depăşit724kbTime limit exceeded.0
10Depăşit540kbTime limit exceeded.0
11Depăşit580kbTime limit exceeded.0
12Depăşit936kbTime limit exceeded.0
13Depăşit792kbTime limit exceeded.0
14Depăşit864kbTime limit exceeded.0
15Depăşit1160kbTime limit exceeded.0
16Depăşit1116kbTime limit exceeded.0
17Depăşit1012kbTime limit exceeded.0
18Depăşit1236kbTime limit exceeded.0
19Depăşit1236kbTime limit exceeded.0
20Depăşit1232kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?