Pagini recente » Borderou de evaluare (job #2055821) | Borderou de evaluare (job #2871255) | Borderou de evaluare (job #124198) | Borderou de evaluare (job #1336787) | Borderou de evaluare (job #1554231)
Borderou de evaluare (job #1554231)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:34: 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:16:36: 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:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &K);
^
user.cpp:18:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nn);
^
user.cpp:22:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccHUGPsE.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 484ms | 1128kb | Incorect | 0 |
2 | 8ms | 488kb | Incorect | 0 |
3 | Depăşit | 1336kb | Time limit exceeded. | 0 |
4 | 504ms | 1136kb | Incorect | 0 |
5 | Depăşit | 1324kb | Time limit exceeded. | 0 |
6 | 284ms | 956kb | Incorect | 0 |
7 | Depăşit | 1316kb | Time limit exceeded. | 0 |
8 | Depăşit | 1324kb | Time limit exceeded. | 0 |
9 | 320ms | 912kb | Incorect | 0 |
10 | 44ms | 532kb | Incorect | 0 |
Punctaj total | 0 |