Pagini recente » Borderou de evaluare (job #2483696) | Borderou de evaluare (job #666417) | Borderou de evaluare (job #1387080) | Borderou de evaluare (job #707385) | Borderou de evaluare (job #1739494)
Borderou de evaluare (job #1739494)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:91:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("robot2.in", "r", stdin);
^
user.cpp:92:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("robot2.out", "w", stdout);
^
user.cpp:94:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:97:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(input+1,2001,stdin);
^
user.cpp:101:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&L1,&C1,&L2,&C2);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:97:34:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 40ms | 31792kb | Corect! | 10 |
2 | 44ms | 31960kb | Corect! | 10 |
3 | 52ms | 31984kb | Corect! | 10 |
4 | 348ms | 36096kb | Raspuns partial corect! | 5 |
5 | 176ms | 32348kb | Corect! | 10 |
6 | Depăşit | 40480kb | Time limit exceeded. | 0 |
7 | Depăşit | 40480kb | Time limit exceeded. | 0 |
8 | 4ms | 636kb | Killed by signal 6(SIGABRT). | 0 |
9 | 568ms | 32692kb | Corect! | 10 |
10 | 544ms | 32812kb | Corect! | 10 |
Punctaj total | 65 |