Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #2217329) | Borderou de evaluare (job #647221) | Borderou de evaluare (job #1255880) | Borderou de evaluare (job #3228984)
Borderou de evaluare (job #3228984)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:65:5: warning: 'partefin' may be used uninitialized [-Wmaybe-uninitialized]
65 | if(partefin == -1){
| ^~
main.cpp:9:84: note: 'partefin' was declared here
9 | int n, i, a, hcur = 0, x, pozs = 0, pozd = 0, parte, hstart, hfin, partestart, partefin;
| ^~~~~~~~
main.cpp:59:5: warning: 'partestart' may be used uninitialized [-Wmaybe-uninitialized]
59 | if(partestart == -1){
| ^~
main.cpp:9:72: note: 'partestart' was declared here
9 | int n, i, a, hcur = 0, x, pozs = 0, pozd = 0, parte, hstart, hfin, partestart, partefin;
| ^~~~~~~~~~
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:64:13:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'hfin' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:9:66: note: 'hfin' was declared here
9 | int n, i, a, hcur = 0, x, pozs = 0, pozd = 0, parte, hstart, hfin, partestart, partefin;
| ^~~~
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:58:13:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'hstart' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:9:58: note: 'hstart' was declared here
9 | int n, i, a, hcur = 0, x, pozs = 0, pozd = 0, parte, hstart, hfin, partestart, partefin;
| ^~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 6ms | 1867kb | OK | 5 |
| 2 | 0ms | 303kb | OK | 5 |
| 3 | 5ms | 1867kb | Primul numar corect | 1 |
| 4 | 6ms | 1867kb | Primul numar corect | 1 |
| 5 | 0ms | 303kb | Primul numar corect | 1 |
| 6 | 0ms | 303kb | Primul numar corect | 1 |
| 7 | 0ms | 303kb | OK | 5 |
| 8 | 0ms | 303kb | Primul numar corect | 1 |
| 9 | 2ms | 819kb | Primul numar corect | 1 |
| 10 | 2ms | 1081kb | OK | 5 |
| 11 | 0ms | 303kb | OK | 5 |
| 12 | 5ms | 1605kb | Primul numar corect | 1 |
| 13 | 4ms | 1605kb | OK | 5 |
| 14 | 0ms | 303kb | Primul numar corect | 1 |
| 15 | 0ms | 303kb | OK | 5 |
| 16 | 0ms | 303kb | OK | 5 |
| 17 | 6ms | 1867kb | Primul numar corect | 1 |
| 18 | 6ms | 1867kb | OK | 5 |
| 19 | 4ms | 1605kb | OK | 5 |
| 20 | 0ms | 303kb | OK | 5 |
| Punctaj total | 64 |