Borderou de evaluare (job #1521091)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.in","r",stdin);
^
user.cpp:13:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out","w",stdout);
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%c",&n,&k,&c);
^
user.cpp:17:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc5eYvlA.o: In function `main':
user.cpp:(.text.startup+0x97): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 268kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 268kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 268kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 256kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 7 | 40ms | 284kb | Incorect | 0 |
| 8 | Depăşit | 284kb | Time limit exceeded. | 0 |
| 9 | 96ms | 280kb | Incorect | 0 |
| 10 | 4ms | 280kb | Incorect | 0 |
| Punctaj total | 0 |