Pagini recente » Borderou de evaluare (job #578301) | Borderou de evaluare (job #2711871) | Borderou de evaluare (job #662903) | Borderou de evaluare (job #3135416) | Borderou de evaluare (job #1204857)
Borderou de evaluare (job #1204857)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(short int)’:
user.cpp:21:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < v[k].size() ; i++){
^
user.cpp: In function ‘int main()’:
user.cpp:41:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d%d",&n,&m,&x1,&y1);
^
user.cpp:41:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:41:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:41:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:46:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&x,&y,&c);
^
user.cpp:46:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:46:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:38:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sate.in","r",stdin);
^
user.cpp:39:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sate.out","w",stdout);
^
user.cpp:41:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&m,&x1,&y1);
^
user.cpp:46:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 984kb | Incorect | 0 | 0 |
2 | 0ms | 992kb | Incorect | 0 |
3 | 0ms | 992kb | Incorect | 0 |
4 | 0ms | 996kb | Incorect | 0 | 0 |
5 | 0ms | 996kb | Incorect | 0 |
6 | 0ms | 988kb | Incorect | 0 |
7 | 0ms | 1000kb | Incorect | 0 | 0 |
8 | 0ms | 984kb | Incorect | 0 |
9 | 0ms | 1012kb | Incorect | 0 |
10 | 0ms | 1004kb | Incorect | 0 | 0 |
11 | 0ms | 992kb | Incorect | 0 |
12 | 28ms | 1668kb | Incorect | 0 |
13 | 20ms | 1560kb | Incorect | 0 | 0 |
14 | 20ms | 1800kb | Incorect | 0 |
15 | 4ms | 1272kb | Incorect | 0 |
16 | 4ms | 1328kb | Incorect | 0 |
17 | 0ms | 992kb | Incorect | 0 | 0 |
18 | 28ms | 1844kb | Incorect | 0 |
19 | 12ms | 1388kb | Incorect | 0 |
20 | 0ms | 988kb | Incorect | 0 |
Punctaj total | 0 |