Pagini recente » Borderou de evaluare (job #343529) | Borderou de evaluare (job #771047) | Borderou de evaluare (job #689820) | Borderou de evaluare (job #17861) | Borderou de evaluare (job #3243791)
Borderou de evaluare (job #3243791)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:41: warning: unused variable 'x' [-Wunused-variable]
10 | long long i, n, sum = 0, sumultime, x, maxim = -9999999999999, k, v[1000005], poz1, poz2;
| ^
In file included from /usr/include/c++/12.2.1/iostream:39,
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:30:28:
/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:10:89: note: 'poz2' was declared here
10 | long long i, n, sum = 0, sumultime, x, maxim = -9999999999999, k, v[1000005], poz1, poz2;
| ^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Wrong answer! | 0 |
| 2 | 0ms | 303kb | OK! | 10 |
| 3 | 0ms | 303kb | OK! | 10 |
| 4 | 0ms | 303kb | OK! | 10 |
| 5 | 0ms | 303kb | OK! | 10 |
| 6 | 1ms | 303kb | OK! | 10 |
| 7 | 1ms | 303kb | OK! | 10 |
| 8 | 1ms | 557kb | OK! | 10 |
| 9 | 2ms | 557kb | OK! | 10 |
| 10 | 3ms | 557kb | OK! | 10 |
| Punctaj total | 90 |