Pagini recente »
Borderou de evaluare (job #855041)
Borderou de evaluare (job #855041)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:58: warning: unused variable 'ok' [-Wunused-variable]
12 | long long int x, n, a, ca, cnt=1, mincnt=2147483647, ok=0, nr=0, cav, cca;
| ^~
main.cpp:12:75: warning: unused variable 'cca' [-Wunused-variable]
12 | long long int x, n, a, ca, cnt=1, mincnt=2147483647, ok=0, nr=0, cav, cca;
| ^~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/ostream:42,
from /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/iostream:43,
from main.cpp:1:
In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]',
inlined from 'int main()' at main.cpp:48:11:
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/ostream.h:212:25: warning: 'cav' may be used uninitialized [-Wmaybe-uninitialized]
212 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:12:70: note: 'cav' was declared here
12 | long long int x, n, a, ca, cnt=1, mincnt=2147483647, ok=0, nr=0, cav, cca;
| ^~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
508 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
292 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
292 kb
|
OK
|
10
|
|
4
|
1 ms
|
292 kb
|
OK
|
10
|
|
5
|
1 ms
|
292 kb
|
OK
|
10
|
|
6
|
2 ms
|
508 kb
|
OK
|
10
|
|
7
|
3 ms
|
508 kb
|
OK
|
10
|
|
8
|
5 ms
|
508 kb
|
OK
|
10
|
|
9
|
6 ms
|
508 kb
|
OK
|
10
|
|
10
|
7 ms
|
508 kb
|
OK
|
10
|
|
Punctaj total
|
80
|