Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #3059286) | Borderou de evaluare (job #3059262) | Borderou de evaluare (job #3059296) | Borderou de evaluare (job #3325905)
Borderou de evaluare (job #3325905)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:93:42: warning: 'drmin' may be used uninitialized [-Wmaybe-uninitialized]
93 | cout<<total - smin<<" "<<drmin + 1<<" "<<n - len;
| ^
main.cpp:58:16: note: 'drmin' was declared here
58 | int stmin, drmin;
| ^~~~~
main.cpp:91:25: warning: 'stmin' may be used uninitialized [-Wmaybe-uninitialized]
91 | int len = drmin - stmin + 1;
| ~~~~~~^~~~~~~
main.cpp:58:9: note: 'stmin' was declared here
58 | int stmin, drmin;
| ^~~~~
In file included from /usr/include/c++/12.2.1/istream:39,
from /usr/include/c++/12.2.1/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:87:26:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'stmax' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:37:9: note: 'stmax' was declared here
37 | int stmax, drmax;
| ^~~~~
main.cpp:85:25: warning: 'drmax' may be used uninitialized [-Wmaybe-uninitialized]
85 | int len = drmax - stmax + 1;
| ~~~~~~^~~~~~~
main.cpp:37:16: note: 'drmax' was declared here
37 | int stmax, drmax;
| ^~~~~
| 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 | 557kb | OK! | 10 |
| 5 | 2ms | 823kb | OK! | 10 |
| 6 | 4ms | 1081kb | OK! | 10 |
| 7 | 8ms | 1867kb | OK! | 10 |
| 8 | 9ms | 2392kb | OK! | 10 |
| 9 | 14ms | 3055kb | OK! | 10 |
| 10 | 13ms | 3444kb | OK! | 10 |
| Punctaj total | 100 |