Pagini recente » Cod sursa (job #2236271) | Cod sursa (job #86676) | Cod sursa (job #313663) | Cod sursa (job #418779) | Borderou de evaluare (job #1521121)
Borderou de evaluare (job #1521121)
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/cc4v6Tyn.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 | 264kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 256kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 7 | 0ms | 268kb | Incorect | 0 |
| 8 | Depăşit | 268kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 276kb | Time limit exceeded. | 0 |
| 10 | 20ms | 276kb | Incorect | 0 |
| Punctaj total | 0 |