Pagini recente » Borderou de evaluare (job #1162216) | Borderou de evaluare (job #803418) | Borderou de evaluare (job #735781) | Borderou de evaluare (job #2829051) | Borderou de evaluare (job #1314031)
Borderou de evaluare (job #1314031)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in", "rt", stdin);
^
user.cpp:34:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out", "wt", stdout);
^
user.cpp:36:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:40:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cc0FC1kl.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 332kb | OK | 10 |
| 4 | 52ms | 2560kb | OK | 10 |
| 5 | 16ms | 740kb | OK | 10 |
| 6 | 32ms | 1480kb | OK | 10 |
| 7 | 120ms | 3508kb | OK | 10 |
| 8 | Depăşit | 5072kb | Time limit exceeded. | 0 |
| 9 | 8ms | 576kb | OK | 10 |
| 10 | 0ms | 256kb | OK | 10 |
| Punctaj total | 90 |