Pagini recente » Borderou de evaluare (job #2764683) | Borderou de evaluare (job #690115) | Borderou de evaluare (job #3271834) | Borderou de evaluare (job #1826060) | Borderou de evaluare (job #2913980)
Borderou de evaluare (job #2913980)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:96:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
96 | for(i=1;i<=n;++i)//na ca precalculam
| ^~~
main.cpp:98:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
98 | for(i=1;i<=n;++i){//O(n)
| ^~~
main.cpp:118:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
118 | for(i=2;i<v.size();++i){
| ~^~~~~~~~~
main.cpp:106:10: warning: variable 'ansAdd' set but not used [-Wunused-but-set-variable]
106 | auto ansAdd = [&](int val){
| ^~~~~~
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 1ms | 184kb | OK | 5 | 10 |
✓ | 2 | 1ms | 184kb | OK | 5 |
✓ | 3 | 12ms | 307kb | OK | 5 | 30 |
✓ | 4 | 1ms | 184kb | OK | 5 |
✓ | 5 | 1ms | 184kb | OK | 5 |
✓ | 6 | 1ms | 184kb | OK | 5 |
✓ | 7 | 1ms | 184kb | OK | 5 |
✓ | 8 | 1ms | 184kb | OK | 5 |
✓ | 9 | 282ms | 19873kb | OK | 5 | 0 |
✓ | 10 | 287ms | 19828kb | OK | 5 |
✓ | 11 | 400ms | 19841kb | Time limit exceeded | 0 |
✓ | 12 | 273ms | 19820kb | OK | 5 |
✓ | 13 | 99ms | 6459kb | OK | 5 | 40 |
✓ | 14 | 188ms | 6664kb | OK | 5 |
✓ | 15 | 186ms | 6811kb | OK | 5 |
✓ | 16 | 180ms | 6459kb | OK | 5 |
✓ | 17 | 186ms | 6938kb | OK | 5 |
✓ | 18 | 129ms | 6746kb | OK | 5 |
✓ | 19 | 215ms | 7065kb | OK | 5 |
✓ | 20 | 108ms | 6397kb | OK | 5 |
Punctaj total | 80 |