Borderou de evaluare (job #722372)

Utilizator avatar MosteanuOlivia1 Mosteanu Olivia MosteanuOlivia1 IP ascuns
Problemă Talent (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 30 mai 2023 17:04:59 Scor 90

Raport evaluator

Compilare: main.cpp: In function 'bool verif(int)': main.cpp:28:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 28 | if (v[i] % 2 == 1) | ^~ main.cpp:30:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 30 | if (cnt >= 2) | ^~ In file included from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/istream:39, from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/fstream:38, 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:66:20: /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/ostream:202:25: warning: 'minim' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:42:12: note: 'minim' was declared here 42 | long long minim; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 249 kb OK 10
5 1 ms 249 kb OK 10
6 1 ms 249 kb Incorect 0
7 1 ms 249 kb OK 10
8 1 ms 249 kb OK 10
9 9 ms 245 kb OK 10
10 9 ms 245 kb OK 10
Punctaj total 90