Pagini recente » Borderou de evaluare (job #2176894) | Borderou de evaluare (job #3238887) | Borderou de evaluare (job #934213) | Borderou de evaluare (job #577054) | Borderou de evaluare (job #1734174)
Borderou de evaluare (job #1734174)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dame2.in", "r", stdin);
^
user.cpp:17:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i]);
^
user.cpp: In function ‘void write()’:
user.cpp:174:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dame2.out", "w", stdout);
^
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* gets(char*)’,
inlined from ‘void read()’ at user.cpp:17:19:
/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/ccDR9bCT.o: In function `read()':
user.cpp:(.text+0x50): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 392kb | Incorect | 0 |
| 2 | 4ms | 388kb | Incorect | 0 |
| 3 | 0ms | 388kb | Incorect | 0 |
| 4 | 0ms | 388kb | OK | 4 |
| 5 | 44ms | 384kb | OK | 4 |
| 6 | 16ms | 392kb | Incorect | 0 |
| 7 | 176ms | 388kb | Incorect | 0 |
| 8 | Depăşit | 348kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 344kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 348kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 348kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 348kb | Time limit exceeded. | 0 |
| 13 | 0ms | 392kb | Incorect | 0 |
| 14 | 0ms | 388kb | OK | 4 |
| 15 | Depăşit | 348kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 348kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 344kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 344kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 344kb | Time limit exceeded. | 0 |
| 20 | 8ms | 388kb | Incorect | 0 |
| 21 | 8ms | 392kb | Incorect | 0 |
| 22 | 8ms | 392kb | Incorect | 0 |
| 23 | 12ms | 388kb | Incorect | 0 |
| 24 | 0ms | 388kb | OK | 4 |
| 25 | 16ms | 392kb | Incorect | 0 |
| Punctaj total | 16 |