Pagini recente » Borderou de evaluare (job #3310078) | Borderou de evaluare (job #3304698)
Borderou de evaluare (job #3304698)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:31: warning: unused variable 'x' [-Wunused-variable]
9 | long long sum=0, n, subm=0,x,maxi=-9999999999999,k,inc,poz1,poz2;
| ^
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:28:20:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'poz2' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:9:64: note: 'poz2' was declared here
9 | long long sum=0, n, subm=0,x,maxi=-9999999999999,k,inc,poz1,poz2;
| ^~~~
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:28:10:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'inc' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:9:55: note: 'inc' was declared here
9 | long long sum=0, n, subm=0,x,maxi=-9999999999999,k,inc,poz1,poz2;
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Wrong answer! | 0 |
| 2 | 0ms | 303kb | Wrong answer! | 0 |
| 3 | 0ms | 303kb | Wrong answer! | 0 |
| 4 | 0ms | 303kb | Wrong answer! | 0 |
| 5 | 0ms | 303kb | OK! | 10 |
| 6 | 1ms | 303kb | OK! | 10 |
| 7 | 1ms | 303kb | OK! | 10 |
| 8 | 1ms | 557kb | OK! | 10 |
| 9 | 2ms | 557kb | Wrong answer! | 0 |
| 10 | 3ms | 557kb | Wrong answer! | 0 |
| Punctaj total | 40 |