Pagini recente » Borderou de evaluare (job #1199133) | Borderou de evaluare (job #207729) | Borderou de evaluare (job #2230390) | Borderou de evaluare (job #1031197) | Borderou de evaluare (job #1325688)
Borderou de evaluare (job #1325688)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in", "r", stdin);
^
user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out", "w", stdout);
^
user.cpp:26:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:29:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
/tmp/cc3gvK0k.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 12ms | 4176kb | OK | 10 |
| 2 | 12ms | 4180kb | OK | 10 |
| 3 | 12ms | 4196kb | OK | 10 |
| 4 | 40ms | 4640kb | OK | 10 |
| 5 | 24ms | 4280kb | OK | 10 |
| 6 | 32ms | 4428kb | OK | 10 |
| 7 | 64ms | 4832kb | OK | 10 |
| 8 | 88ms | 5140kb | OK | 10 |
| 9 | 20ms | 4240kb | OK | 10 |
| 10 | 12ms | 4180kb | OK | 10 |
| Punctaj total | 100 |