Pagini recente » Borderou de evaluare (job #1771213) | Borderou de evaluare (job #2282617) | Borderou de evaluare (job #1700926) | Cod sursa (job #525317) | Borderou de evaluare (job #1325169)
Borderou de evaluare (job #1325169)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:42: warning: unknown conversion type character ‘b’ in format [-Wformat=]
for (i=1; i<=n; i++) scanf("%b",&a[i]);
^
user.cpp:12:42: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.in","r",stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) scanf("%b",&a[i]);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | Incorect | 0 |
| 2 | 0ms | 264kb | Incorect | 0 |
| 3 | 0ms | 268kb | Incorect | 0 |
| 4 | 4ms | 308kb | OK | 10 |
| 5 | 36ms | 652kb | Incorect | 0 |
| 6 | 76ms | 1044kb | Incorect | 0 |
| 7 | 184ms | 2220kb | Incorect | 0 |
| 8 | Depăşit | 2876kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 2576kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 2612kb | Time limit exceeded. | 0 |
| Punctaj total | 10 |