Borderou de evaluare (job #777627)

Utilizator avatar Vlad0801 Vlad Niculaie Faranga Vlad0801 IP ascuns
Problemă Dezechilibru (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 mai 2024 18:54:13 Scor 45

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:8:19: warning: unused variable 'c' [-Wunused-variable] 8 | long long n,a,c,s,d,Max=-1,nrmax,cp,cnt=0,c1,i,p,mp,y; | ^ main.cpp:8:47: warning: unused variable 'c1' [-Wunused-variable] 8 | long long n,a,c,s,d,Max=-1,nrmax,cp,cnt=0,c1,i,p,mp,y; | ^~ main.cpp:8:50: warning: unused variable 'i' [-Wunused-variable] 8 | long long n,a,c,s,d,Max=-1,nrmax,cp,cnt=0,c1,i,p,mp,y; | ^ In file included from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/iostream:41, 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:45:10: /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/ostream:204:25: warning: 'nrmax' may be used uninitialized [-Wmaybe-uninitialized] 204 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:8:32: note: 'nrmax' was declared here 8 | long long n,a,c,s,d,Max=-1,nrmax,cp,cnt=0,c1,i,p,mp,y; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb OK 5
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb OK 5
11 1 ms 249 kb OK 5
12 1 ms 249 kb OK 5
13 9 ms 249 kb Incorect 0
14 19 ms 507 kb OK 5
15 39 ms 249 kb Incorect 0
16 89 ms 249 kb OK 5
17 179 ms 245 kb Incorect 0
18 439 ms 249 kb Incorect 0
19 449 ms 245 kb Incorect 0
20 449 ms 512 kb Incorect 0
Punctaj total 45