Pagini recente » Borderou de evaluare (job #798503) | Borderou de evaluare (job #1680125) | Borderou de evaluare (job #995925) | Borderou de evaluare (job #1675881) | Borderou de evaluare (job #1826512)
Borderou de evaluare (job #1826512)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (i > 1 && !dw[i - 1][j])
^
user.cpp:54:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (i > 1 && !dw[i - 1][j])
^
user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("gravity.in", "r", stdin);
^
user.cpp:18:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("gravity.out", "w", stdout);
^
user.cpp:21:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &n, &m);
^
user.cpp:25:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (str + 1);
^
/tmp/ccDGhTin.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 28ms | 4264kb | Incorect! | 0 | 0 |
2 | 32ms | 4716kb | Incorect! | 0 |
3 | 28ms | 4476kb | Incorect! | 0 |
4 | 576ms | 34600kb | OK! | 7 | 14 |
5 | 572ms | 34612kb | OK! | 7 |
6 | 704ms | 38160kb | Incorect! | 0 | 0 |
7 | 8ms | 2456kb | Incorect! | 0 |
8 | 704ms | 37272kb | Incorect! | 0 |
9 | 556ms | 39524kb | Incorect! | 0 |
10 | 744ms | 38624kb | Incorect! | 0 |
11 | 572ms | 35756kb | Incorect! | 0 | 0 |
Punctaj total | 14 |