Pagini recente » Borderou de evaluare (job #1450102) | Borderou de evaluare (job #910591) | Borderou de evaluare (job #1326966) | Borderou de evaluare (job #1164579) | Borderou de evaluare (job #1475370)
Borderou de evaluare (job #1475370)
Raport evaluator
Compilare:
user.cpp: In function ‘void remove_right(int)’:
user.cpp:25:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((SR[i] >> 24) != pos) SR[++SR[0]] = SR[i];
^
user.cpp: In function ‘int solve(int)’:
user.cpp:36:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (left <= SL[0] && right > 0){
^
user.cpp:37:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (right && SRval(right) + SL[left] > S) --right;
^
user.cpp:43:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (nextL <= SL[0] && SL[left] == SL[nextL]) ++nextL;
^
user.cpp: In function ‘int main()’:
user.cpp:52:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("take5.in", "r", stdin);
^
user.cpp:53:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("take5.out", "w", stdout);
^
user.cpp:55:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &S);
^
user.cpp:56:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= N; ++i) scanf("%d", &A[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 300kb | Incorect | 0 |
4 | 0ms | 320kb | Incorect | 0 |
5 | 4ms | 340kb | Incorect | 0 |
6 | 8ms | 408kb | Incorect | 0 |
7 | 16ms | 496kb | Incorect | 0 |
8 | 28ms | 604kb | Incorect | 0 |
9 | 36ms | 684kb | Incorect | 0 |
10 | 52ms | 876kb | Incorect | 0 |
11 | 76ms | 1228kb | Incorect | 0 |
12 | 112ms | 1656kb | Incorect | 0 |
13 | 152ms | 1932kb | Incorect | 0 |
14 | 184ms | 2156kb | Incorect | 0 |
15 | 192ms | 2596kb | Incorect | 0 |
16 | 240ms | 2864kb | Incorect | 0 |
17 | 312ms | 4128kb | Incorect | 0 |
18 | 316ms | 4140kb | Incorect | 0 |
19 | 320ms | 4144kb | Incorect | 0 |
20 | 332ms | 4140kb | Incorect | 0 |
Punctaj total | 0 |