Pagini recente » Heavy path decomposition | Borderou de evaluare (job #2638870) | Borderou de evaluare (job #3156380) | Borderou de evaluare (job #1488412) | Borderou de evaluare (job #1554230)
Borderou de evaluare (job #1554230)
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/ccNiFVAF.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 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 404kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 404kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 404kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 400kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |