Pagini recente » Borderou de evaluare (job #619147) | Borderou de evaluare (job #377424) | Borderou de evaluare (job #1106838) | Borderou de evaluare (job #2741656) | Borderou de evaluare (job #1409972)
Borderou de evaluare (job #1409972)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in", "r", stdin);
^
user.cpp:32:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out", "w", stdout);
^
user.cpp:33:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%c", &l, &k, &d);
^
user.cpp:34:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(t);
^
user.cpp:36:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c", &n, &d);
^
user.cpp:37:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(p);
^
/tmp/cctDU2xk.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 392ms | 508kb | Incorect | 0 |
2 | 8ms | 432kb | OK | 10 |
3 | 412ms | 528kb | OK | 10 |
4 | 416ms | 512kb | Incorect | 0 |
5 | 508ms | 524kb | Incorect | 0 |
6 | 248ms | 484kb | OK | 10 |
7 | Depăşit | 516kb | Time limit exceeded. | 0 |
8 | Depăşit | 516kb | Time limit exceeded. | 0 |
9 | 248ms | 480kb | Incorect | 0 |
10 | 36ms | 440kb | Incorect | 0 |
Punctaj total | 30 |