Pagini recente » Borderou de evaluare (job #922769) | Borderou de evaluare (job #2284837) | Borderou de evaluare (job #519442) | Borderou de evaluare (job #2697943) | Borderou de evaluare (job #1697688)
Borderou de evaluare (job #1697688)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in", "r", stdin);
^
user.cpp:56:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out", "w", stdout);
^
user.cpp:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:61:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buf);
^
user.cpp:68:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:70:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buf);
^
/tmp/cc4E9196.o: In function `main':
user.cpp:(.text.startup+0x70): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 76ms | 3580kb | Incorect | 0 |
| 2 | 32ms | 2304kb | Incorect | 0 |
| 3 | 36ms | 2628kb | OK | 10 |
| 4 | 68ms | 2628kb | OK | 10 |
| 5 | 72ms | 3408kb | OK | 10 |
| 6 | 108ms | 4184kb | OK | 10 |
| 7 | 144ms | 4948kb | OK | 10 |
| 8 | 204ms | 5024kb | Incorect | 0 |
| 9 | 196ms | 5028kb | Incorect | 0 |
| 10 | 240ms | 5024kb | Incorect | 0 |
| Punctaj total | 50 |