Borderou de evaluare (job #855039)

Utilizator avatar PetruVarabiescu Varabiescu Petru PetruVarabiescu IP ascuns
Problemă Cavaleri (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 26 feb. 2026 12:13:00 Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:67: warning: unused variable 'ok' [-Wunused-variable] 11 | long long a, n, x, ca, cnt = 0, mincnt = 2100000000, nr, cav, ok = 0; | ^~ 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:40:13: /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:11:62: note: 'cav' was declared here 11 | long long a, n, x, ca, cnt = 0, mincnt = 2100000000, nr, cav, ok = 0; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 508 kb Incorect 0
2 1 ms 508 kb Incorect 0
3 1 ms 496 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 292 kb OK 10
8 4 ms 292 kb OK 10
9 5 ms 292 kb OK 10
10 6 ms 292 kb OK 10
Punctaj total 80