Pagini recente » Borderou de evaluare (job #2009182) | Borderou de evaluare (job #424887) | Borderou de evaluare (job #982648) | Borderou de evaluare (job #3335386) | Borderou de evaluare (job #3308764)
Borderou de evaluare (job #3308764)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for (int i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
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:60:46:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'lungime' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:34:57: note: 'lungime' was declared here
34 | long long sum_max = -1e18, sum = 0, start, poz, lungime;
| ^~~~~~~
main.cpp:60:41: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
60 | fout << sum_max << ' ' << poz + 1 << ' ' << lungime;
| ^
main.cpp:34:52: note: 'poz' was declared here
34 | long long sum_max = -1e18, sum = 0, start, poz, lungime;
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Suma gresita! | 0 |
| 2 | 0ms | 303kb | Suma gresita! | 0 |
| 3 | 1ms | 303kb | Suma gresita! | 0 |
| 4 | 1ms | 557kb | Suma gresita! | 0 |
| 5 | 3ms | 684kb | Suma gresita! | 0 |
| 6 | 4ms | 794kb | Suma gresita! | 0 |
| 7 | 8ms | 1466kb | Suma gresita! | 0 |
| 8 | 9ms | 1462kb | OK! | 10 |
| 9 | 14ms | 2514kb | OK! | 10 |
| 10 | 14ms | 1859kb | Suma gresita! | 0 |
| Punctaj total | 20 |