Pagini recente » Borderou de evaluare (job #3171146) | Borderou de evaluare (job #1459357) | Borderou de evaluare (job #1310436) | Borderou de evaluare (job #1560490) | Borderou de evaluare (job #1697687)
Borderou de evaluare (job #1697687)
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:71:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:73:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buf);
^
/tmp/cc9RwkGi.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 | 2300kb | OK | 10 |
| 3 | 36ms | 2628kb | OK | 10 |
| 4 | 72ms | 2624kb | OK | 10 |
| 5 | 72ms | 3404kb | Incorect | 0 |
| 6 | 108ms | 4180kb | OK | 10 |
| 7 | 144ms | 4956kb | OK | 10 |
| 8 | 200ms | 5024kb | Incorect | 0 |
| 9 | 196ms | 5020kb | Incorect | 0 |
| 10 | 232ms | 5020kb | Incorect | 0 |
| Punctaj total | 50 |