Pagini recente »
Borderou de evaluare (job #533380)
|
Borderou de evaluare (job #474872)
|
Borderou de evaluare (job #584661)
|
Borderou de evaluare (job #246914)
|
Borderou de evaluare (job #804604)
Borderou de evaluare (job #804604)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:8:22: warning: unused variable 'f' [-Wunused-variable]
8 | int n,x=-1,u,i,p=0,f,b,g;
| ^
In file included from /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/algorithm:60,
from /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/i686-pc-linux-gnu/bits/stdc++.h:51,
from main.cpp:1:
In function 'constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = int]',
inlined from 'int main()' at main.cpp:17:7:
/usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/bits/stl_algobase.h:262:7: warning: 'g' may be used uninitialized [-Wmaybe-uninitialized]
262 | if (__a < __b)
| ^~
main.cpp: In function 'int main()':
main.cpp:8:26: note: 'g' was declared here
8 | int n,x=-1,u,i,p=0,f,b,g;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
2 ms
|
507 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
a) OK; b) OK; c) linie incorecta
|
7
|
4
|
2 ms
|
507 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
270 kb
|
OK
|
10
|
7
|
2 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
|
97
|