Pagini recente »
Borderou de evaluare (job #179864)
|
Borderou de evaluare (job #580204)
|
Borderou de evaluare (job #583692)
|
Borderou de evaluare (job #705116)
|
Borderou de evaluare (job #722365)
Borderou de evaluare (job #722365)
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)
| ^~
main.cpp:47:18: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare]
47 | if (ok == 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:83: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:61:12: note: 'minim' was declared here
61 | long long minim;
| ^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
131 kb
|
Incorect
|
0
|
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
|
249 kb
|
OK
|
10
|
Punctaj total
|
70
|