Pagini recente » Borderou de evaluare (job #2218126) | Borderou de evaluare (job #380778) | Borderou de evaluare (job #1180370) | Borderou de evaluare (job #1310753) | Borderou de evaluare (job #1728400)
Borderou de evaluare (job #1728400)
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:100: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:101:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:104: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 | 112ms | 3056kb | Incorect | 0 |
| 2 | 20ms | 1176kb | OK | 10 |
| 3 | 60ms | 1644kb | OK | 10 |
| 4 | 92ms | 1644kb | OK | 10 |
| 5 | 144ms | 2796kb | OK | 10 |
| 6 | 252ms | 3944kb | OK | 10 |
| 7 | 376ms | 5096kb | OK | 10 |
| 8 | Depăşit | 5160kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5160kb | Time limit exceeded. | 0 |
| 10 | 396ms | 5176kb | Incorect | 0 |
| Punctaj total | 60 |