Pagini recente » Borderou de evaluare (job #665999) | Borderou de evaluare (job #1078131) | Borderou de evaluare (job #2477447) | Borderou de evaluare (job #58) | Borderou de evaluare (job #3184835)
Borderou de evaluare (job #3184835)
Raport evaluator
Compilare:
main.cpp: In function 'void solve_task1()':
main.cpp:30:27: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
30 | if (curent.size() == k)
| ~~~~~~~~~~~~~~^~~~
main.cpp:27:9: warning: unused variable 'lung' [-Wunused-variable]
27 | int lung = 0;
| ^~~~
main.cpp: In function 'long long int modifica(long long int&)':
main.cpp:38:1: warning: no return statement in function returning non-void [-Wreturn-type]
38 | }
| ^
main.cpp: In function 'void solve_task2()':
main.cpp:40:31: warning: unused variable 'e' [-Wunused-variable]
40 | int maxnr = 0, st, dr, p, e;
| ^
In file included from /usr/include/c++/12.2.1/istream:39,
from /usr/include/c++/12.2.1/sstream:38,
from /usr/include/c++/12.2.1/complex:45,
from /usr/include/c++/12.2.1/ccomplex:39,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:54,
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 'void solve_task2()' at main.cpp:62:43:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'void solve_task2()':
main.cpp:40:24: note: 'dr' was declared here
40 | int maxnr = 0, st, dr, p, e;
| ^~
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 'void solve_task2()' at main.cpp:62:30:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'void solve_task2()':
main.cpp:40:20: note: 'st' was declared here
40 | int maxnr = 0, st, dr, p, e;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 1ms | 303kb | OK | 10 |
5 | 2ms | 303kb | OK | 10 |
6 | 39ms | 4431kb | OK | 10 |
7 | 5ms | 303kb | OK | 10 |
8 | 19ms | 303kb | OK | 10 |
9 | 24ms | 4370kb | OK | 10 |
10 | 0ms | 303kb | OK | 10 |
Punctaj total | 100 |