Pagini recente » Borderou de evaluare (job #2951534) | Borderou de evaluare (job #2180829) | Borderou de evaluare (job #2675573) | Borderou de evaluare (job #1408828) | Borderou de evaluare (job #1728392)
Borderou de evaluare (job #1728392)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:53:45: warning: operation on ‘nr’ may be undefined [-Wsequence-point]
pos[++ nr] = pos[nr - 1] + 1;
^
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:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, maxM, stdin);
^
user.cpp: In function ‘void write()’:
user.cpp:102: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:103:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:106:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, maxl, stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 112ms | 3056kb | Incorect | 0 |
| 2 | 20ms | 1172kb | OK | 10 |
| 3 | 60ms | 1776kb | OK | 10 |
| 4 | 92ms | 1772kb | OK | 10 |
| 5 | 144ms | 3052kb | OK | 10 |
| 6 | 248ms | 4328kb | OK | 10 |
| 7 | 376ms | 5596kb | OK | 10 |
| 8 | Depăşit | 5668kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5672kb | Time limit exceeded. | 0 |
| 10 | 392ms | 5468kb | Incorect | 0 |
| Punctaj total | 60 |