Borderou de evaluare (job #801538)

Utilizator avatar m4teioana Ioana Matei m4teioana IP ascuns
Problemă Elementul Majoritar (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 dec. 2024 13:42:30 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:8:14: warning: unused variable 'z' [-Wunused-variable] 8 | long long n,z,maxi=-2,x; | ^ In file included from /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/istream:41, from /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/fstream:40, 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:33:13: /usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14/ostream:210:25: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 210 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:8:24: note: 'x' was declared here 8 | long long n,z,maxi=-2,x; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 5 ms 245 kb OK 10 30
2 5 ms 245 kb OK 10
3 42 ms 765 kb OK 10
4 182 ms 2347 kb OK 10 20
5 310 ms 4173 kb OK 10
6 979 ms 13090 kb OK 10 20
7 1414 ms 18857 kb OK 10
8 1777 ms 22528 kb OK 10 30
9 1979 ms 24383 kb OK 10
10 1883 ms 24358 kb OK 10
Punctaj total 100