Pagini recente » Borderou de evaluare (job #2880049) | Borderou de evaluare (job #1357775) | Borderou de evaluare (job #38850) | Borderou de evaluare (job #567344) | Borderou de evaluare (job #1497976)
Borderou de evaluare (job #1497976)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:27:54: warning: operation on ‘s[0]’ may be undefined [-Wsequence-point]
s[++ s[0]] = s[s[0] - 1] + dif[i - 1];
^
user.cpp: In function ‘void solve()’:
user.cpp:40:41: warning: operation on ‘s[0]’ may be undefined [-Wsequence-point]
s[++ s[0]] = s[s[0] - 1] + St[i];
^
user.cpp: In function ‘void read()’:
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.in", "r", stdin);
^
user.cpp:14:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.out", "w", stdout);
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:16:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x1);
^
user.cpp:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Incorect | 0 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 4ms | 416kb | Incorect | 0 |
6 | 40ms | 1144kb | OK | 10 |
7 | 20ms | 716kb | OK | 10 |
8 | 264ms | 9056kb | Incorect | 0 |
9 | Depăşit | 12300kb | Time limit exceeded. | 0 |
10 | Depăşit | 13044kb | Time limit exceeded. | 0 |
Punctaj total | 40 |