Borderou de evaluare (job #774939)

Utilizator avatar Ilincu Munteanu Ilinca Ilincu IP ascuns
Problemă Subsecvenţa (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 16 apr. 2024 18:46:37 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:43: warning: unused variable 'max2' [-Wunused-variable] 14 | long long int ps=0,a,max=0,y,trec=0,cnt=0,max2=0; | ^~~~ 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:37:7: /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/ostream:204:25: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 204 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:14:28: note: 'y' was declared here 14 | long long int ps=0,a,max=0,y,trec=0,cnt=0,max2=0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 512 kb OK 10
2 1 ms 249 kb OK 10
3 1 ms 249 kb OK 10
4 1 ms 270 kb OK 10
5 1 ms 249 kb OK 10
6 1 ms 249 kb OK 10
7 1 ms 249 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 512 kb OK 10
Punctaj total 100