Pagini recente » Borderou de evaluare (job #1120275) | Borderou de evaluare (job #2215558) | Borderou de evaluare (job #103358) | Borderou de evaluare (job #292226) | Borderou de evaluare (job #1640939)
Borderou de evaluare (job #1640939)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("barbar.in", "r", stdin);
^
user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("barbar.out", "w", stdout);
^
user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:31:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:40:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:146:21: warning: ‘oby’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(parc[obx][oby]==INF)
^
user.cpp:146:21: warning: ‘obx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:14:12: warning: ‘sty’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ret.y=y;
^
user.cpp:27:14: note: ‘sty’ was declared here
int stx, sty, obx, oby;
^
user.cpp:13:12: warning: ‘stx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ret.x=x;
^
user.cpp:27:9: note: ‘stx’ was declared here
int stx, sty, obx, oby;
^
/tmp/cc85kw47.o: In function `main':
user.cpp:(.text.startup+0x87): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 404kb | Ok! | 10 |
2 | 0ms | 352kb | Ok! | 10 |
3 | 4ms | 520kb | Ok! | 10 |
4 | 4ms | 600kb | Ok! | 10 |
5 | 344ms | Depăşit | Memory limit exceeded. | 0 |
6 | 348ms | Depăşit | Memory limit exceeded. | 0 |
7 | 348ms | Depăşit | Memory limit exceeded. | 0 |
8 | 348ms | Depăşit | Memory limit exceeded. | 0 |
9 | 12ms | 8204kb | Wall time limit exceeded. | 0 |
10 | 416ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 40 |