Pagini recente » Borderou de evaluare (job #1483534) | Borderou de evaluare (job #2690480) | Borderou de evaluare (job #1728593)
Borderou de evaluare (job #1728593)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:20:35: 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:21:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:24:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, maxM + 3, stdin);
^
user.cpp: In function ‘void write()’:
user.cpp:126:37: 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:127:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:130:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, maxl + 3, stdin);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘void read()’ at user.cpp:24:34:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 76ms | 4932kb | OK | 10 |
| 2 | 16ms | 2436kb | OK | 10 |
| 3 | 36ms | 3060kb | OK | 10 |
| 4 | 64ms | 3056kb | OK | 10 |
| 5 | 88ms | 4584kb | OK | 10 |
| 6 | 164ms | 6116kb | OK | 10 |
| 7 | 268ms | 7636kb | OK | 10 |
| 8 | 328ms | 7744kb | OK | 10 |
| 9 | 324ms | 7748kb | OK | 10 |
| 10 | 304ms | 7740kb | OK | 10 |
| Punctaj total | 100 |