Pagini recente » Borderou de evaluare (job #1504241) | Borderou de evaluare (job #3032026) | Borderou de evaluare (job #3032025) | Borderou de evaluare (job #1195129) | Borderou de evaluare (job #3355209)
Borderou de evaluare (job #3355209)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
33 | else
| ^~~~
main.cpp:35:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
35 | long long new_even,new_odd;
| ^~~~
main.cpp:35:26: warning: variable 'new_odd' set but not used [-Wunused-but-set-variable]
35 | long long new_even,new_odd;
| ^~~~~~~
In file included from /usr/include/c++/12.2.1/iostream:39,
from main.cpp:4:
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:46:20:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'new_even' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:35:17: note: 'new_even' was declared here
35 | long long new_even,new_odd;
| ^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 39ms | 1081kb | Incorect | 0 |
| Punctaj total | 0 |