Pagini recente » Borderou de evaluare (job #1926910) | Borderou de evaluare (job #2882204) | Borderou de evaluare (job #2291867) | Borderou de evaluare (job #915264) | Borderou de evaluare (job #2572334)
Borderou de evaluare (job #2572334)
Raport evaluator
Compilare:
main.cpp: In function 'void solve1()':
main.cpp:10:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<=n; i++)
~^~~
main.cpp:19:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=3; i<=k; i++)
~^~~
main.cpp: In function 'void solve2()':
main.cpp:30:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<=n; i++)
~^~~
main.cpp:54:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(cnt<=k)
~~~^~~
main.cpp:59:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((i<=n)&&(aux[cnt]+aux[cnt-1]>v[i]||(k-cnt)==(n-i)))
~^~~
main.cpp:71:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=k;i++)
~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect ! | 5 |
2 | 2ms | 131kb | Corect | 5 |
3 | 3ms | 131kb | Corect | 5 |
4 | 3ms | 131kb | Corect | 5 |
5 | 3ms | 131kb | Corect | 5 |
6 | 3ms | 131kb | Corect | 5 |
7 | 3ms | 131kb | Corect | 5 |
8 | 3ms | 131kb | Corect ! | 5 |
9 | 3ms | 131kb | Corect ! | 5 |
10 | 3ms | 131kb | Corect ! | 5 |
11 | 3ms | 131kb | Corect ! | 5 |
12 | 3ms | 131kb | Corect ! | 5 |
13 | 3ms | 131kb | Corect ! | 5 |
14 | 3ms | 131kb | Corect ! | 5 |
15 | 3ms | 131kb | Corect ! | 5 |
16 | 3ms | 131kb | Corect ! | 5 |
17 | 3ms | 131kb | Corect ! | 5 |
18 | 3ms | 131kb | Corect ! | 5 |
19 | 3ms | 131kb | Corect ! | 5 |
20 | 3ms | 131kb | Corect ! | 5 |
Punctaj total | 100 |