Pagini recente » Borderou de evaluare (job #2974859) | Borderou de evaluare (job #319657) | Borderou de evaluare (job #271716) | Borderou de evaluare (job #918764) | Borderou de evaluare (job #1826513)
Borderou de evaluare (job #1826513)
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/ccwev4ji.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 | OK! | 10 | 32 |
2 | 32ms | 4724kb | OK! | 10 |
3 | 28ms | 4480kb | OK! | 12 |
4 | 576ms | 34604kb | OK! | 7 | 14 |
5 | 600ms | 34616kb | OK! | 7 |
6 | 696ms | 38236kb | OK! | 13 | 51 |
7 | 8ms | 2456kb | OK! | 13 |
8 | 728ms | 37332kb | OK! | 13 |
9 | 584ms | 39520kb | OK! | 10 |
10 | 732ms | 38668kb | OK! | 2 |
11 | 604ms | 35756kb | OK! | 3 | 3 |
Punctaj total | 100 |