Pagini recente » Borderou de evaluare (job #1556160) | Borderou de evaluare (job #2187023) | Borderou de evaluare (job #644696) | Borderou de evaluare (job #2330958) | Borderou de evaluare (job #1554229)
Borderou de evaluare (job #1554229)
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:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nn);
^
user.cpp:21:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nn);
^
user.cpp:50:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccCLpCak.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 | 488ms | 1120kb | Incorect | 0 |
2 | 8ms | 484kb | Incorect | 0 |
3 | Depăşit | 1316kb | Time limit exceeded. | 0 |
4 | 496ms | 1124kb | Incorect | 0 |
5 | Depăşit | 1320kb | Time limit exceeded. | 0 |
6 | 280ms | 948kb | Incorect | 0 |
7 | Depăşit | 1312kb | Time limit exceeded. | 0 |
8 | Depăşit | 1316kb | Time limit exceeded. | 0 |
9 | 328ms | 908kb | Incorect | 0 |
10 | 44ms | 520kb | Incorect | 0 |
Punctaj total | 0 |