Pagini recente » Borderou de evaluare (job #1208741) | Borderou de evaluare (job #607871) | Borderou de evaluare (job #1282961) | Borderou de evaluare (job #1708095) | Borderou de evaluare (job #1844763)
Borderou de evaluare (job #1844763)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cobai.in", "r", stdin);
^
user.cpp:58:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cobai.out", "w", stdout);
^
user.cpp:62:28: 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:65:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i]+1);
^
user.cpp:67:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(way+1);
^
user.cpp: In function ‘void addInQueue(int, int, int)’:
user.cpp:49:18: warning: ‘col’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[row][col] == '+' || a[row][col] == '*')
^
user.cpp:49:18: warning: ‘row’ may be used uninitialized in this function [-Wmaybe-uninitialized]
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:65:21:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccok5XRR.o: In function `main':
user.cpp:(.text.startup+0x82): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | Ok! | 5 |
2 | 0ms | 308kb | Ok! | 5 |
3 | 0ms | 444kb | Ok! | 5 |
4 | 0ms | 464kb | Ok! | 5 |
5 | 0ms | 628kb | Ok! | 5 |
6 | 0ms | 764kb | Ok! | 5 |
7 | 0ms | 848kb | Ok! | 5 |
8 | 0ms | 804kb | Ok! | 5 |
9 | 0ms | 1068kb | Ok! | 5 |
10 | 4ms | 1484kb | Ok! | 5 |
11 | 4ms | 2048kb | Ok! | 5 |
12 | 8ms | 2508kb | Ok! | 5 |
13 | 8ms | 3044kb | Ok! | 5 |
14 | 16ms | 4884kb | Ok! | 5 |
15 | 8ms | 3328kb | Ok! | 5 |
16 | 8ms | 3392kb | Ok! | 5 |
17 | 4ms | 2124kb | Ok! | 5 |
18 | 40ms | 9940kb | Ok! | 5 |
19 | 44ms | 10880kb | Ok! | 5 |
20 | Depăşit | 13420kb | Time limit exceeded. | 0 |
Punctaj total | 95 |