Pagini recente » Borderou de evaluare (job #3043700) | Borderou de evaluare (job #884941) | Borderou de evaluare (job #2862610) | Borderou de evaluare (job #2716056) | Borderou de evaluare (job #1844747)
Borderou de evaluare (job #1844747)
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] == '+')
^
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/ccTsAj3k.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 | 320kb | Wrong answer! | 0 |
3 | Depăşit | 20472kb | Time limit exceeded. | 0 |
4 | Depăşit | 32132kb | Time limit exceeded. | 0 |
5 | Depăşit | 32140kb | Time limit exceeded. | 0 |
6 | Depăşit | 32288kb | Time limit exceeded. | 0 |
7 | Depăşit | 31032kb | Time limit exceeded. | 0 |
8 | Depăşit | 29532kb | Time limit exceeded. | 0 |
9 | Depăşit | 32288kb | Time limit exceeded. | 0 |
10 | Depăşit | 28832kb | Time limit exceeded. | 0 |
11 | Depăşit | 31124kb | Time limit exceeded. | 0 |
12 | Depăşit | 29772kb | Time limit exceeded. | 0 |
13 | Depăşit | 32412kb | Time limit exceeded. | 0 |
14 | Depăşit | 32368kb | Time limit exceeded. | 0 |
15 | Depăşit | 32612kb | Time limit exceeded. | 0 |
16 | Depăşit | 32520kb | Time limit exceeded. | 0 |
17 | Depăşit | 29144kb | Time limit exceeded. | 0 |
18 | Depăşit | 32476kb | Time limit exceeded. | 0 |
19 | Depăşit | 32520kb | Time limit exceeded. | 0 |
20 | Depăşit | 32504kb | Time limit exceeded. | 0 |
Punctaj total | 5 |