Pagini recente »
Borderou de evaluare (job #624651)
|
Borderou de evaluare (job #485428)
|
Borderou de evaluare (job #545537)
|
Borderou de evaluare (job #96256)
|
Borderou de evaluare (job #735583)
Borderou de evaluare (job #735583)
Raport evaluator
Compilare:
main.cpp: In function 'void solve(int)':
main.cpp:10:14: warning: unused variable 'dif_curenta' [-Wunused-variable]
10 | int pos, dif_curenta;
| ^~~~~~~~~~~
main.cpp:11:10: warning: unused variable 'ok' [-Wunused-variable]
11 | bool ok;
| ^~
main.cpp: In function 'void bkt(int, int, int*, int)':
main.cpp:37:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
37 | if (freq[i]> 0 && (freq[i] > folosit[i] && i>0 || (i==0 && pasi!=0))) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~
main.cpp: In function 'int main()':
main.cpp:61:11: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
61 | memset(folosit, sizeof(folosit), 0);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
a) linie incorecta; b) OK; c) linie incorecta
|
0
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
29 ms
|
249 kb
|
OK
|
10
|
7
|
9 ms
|
507 kb
|
OK
|
10
|
8
|
109 ms
|
249 kb
|
Time limit exceeded
|
0
|
9
|
29 ms
|
1818 kb
|
a) linie incorecta; b) linie incorecta; c) linie incorecta
|
0
|
10
|
19 ms
|
765 kb
|
a) linie incorecta; b) linie incorecta; c) linie incorecta
|
0
|
Punctaj total
|
60
|