Pagini recente »
Borderou de evaluare (job #131703)
|
Borderou de evaluare (job #532719)
|
Borderou de evaluare (job #271924)
|
Borderou de evaluare (job #521489)
|
Borderou de evaluare (job #702240)
Borderou de evaluare (job #702240)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:41:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
41 | else
| ^~~~
main.cpp:43:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
43 | return 0;
| ^~~~~~
main.cpp:9:29: warning: unused variable 'K' [-Wunused-variable]
9 | long long N, a, b, L=0, K, P, ma=0, mb=0, cn, ca, cb;
| ^
main.cpp:9:32: warning: unused variable 'P' [-Wunused-variable]
9 | long long N, a, b, L=0, K, P, ma=0, mb=0, cn, ca, cb;
| ^
main.cpp:34:19: warning: 'cb' may be used uninitialized in this function [-Wmaybe-uninitialized]
34 | cb++; //daca b=mb contor b creste
| ~~^~
main.cpp:21:19: warning: 'ca' may be used uninitialized in this function [-Wmaybe-uninitialized]
21 | ca++; //daca a=ma contor a creste
| ~~^~
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
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
9
|
1 ms
|
245 kb
|
OK
|
10
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
100
|