Pagini recente » Borderou de evaluare (job #1050838) | Borderou de evaluare (job #1347172) | Borderou de evaluare (job #1487620) | Borderou de evaluare (job #1544692) | Borderou de evaluare (job #2553088)
Borderou de evaluare (job #2553088)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:34: warning: comparison of constant ''E'' with boolean expression is always true [-Wbool-compare]
for(int i=0;i<commands[i]!='E';++i) {
~~~~~~~~~~~~~^~~~~
main.cpp:18:22: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
for(int i=0;i<commands[i]!='E';++i) {
~^~~~~~~~~~~~
main.cpp:10:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("editor.in","r",stdin);
^
main.cpp:11:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("editor.out","w",stdout);
^
main.cpp:13:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
main.cpp:17:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(commands, 60001, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 262kb | Incorect | 0 | 0 |
2 | 2ms | 262kb | Incorect | 0 |
3 | 3ms | 262kb | Incorect | 0 |
4 | 4ms | 262kb | Incorect | 0 |
5 | 6ms | 262kb | Killed by Signal 11 | 0 | 0 |
6 | 4ms | 262kb | Killed by Signal 11 | 0 | 0 |
7 | 5ms | 262kb | Killed by Signal 11 | 0 | 0 |
8 | 5ms | 262kb | Killed by Signal 11 | 0 | 0 |
9 | 6ms | 262kb | Killed by Signal 11 | 0 | 0 |
10 | 4ms | 262kb | Killed by Signal 11 | 0 | 0 |
Punctaj total | 0 |