Borderou de evaluare (job #3366948)
| Utilizator | Data | 5 octombrie 2026 13:11:38 | |
|---|---|---|---|
| Problema | Secvbest | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:45:40: error: redeclaration of 'int k'
45 | int n , k , s , i , j , curr , z , k , ok , st , dr , mij;
| ^
main.cpp:45:13: note: 'int k' previously declared here
45 | int n , k , s , i , j , curr , z , k , ok , st , dr , mij;
| ^
main.cpp:67:9: error: 'dqsmall' was not declared in this scope
67 | dqsmall.push_back( j - 1 );
| ^~~~~~~
main.cpp:84:27: error: 'aint' was not declared in this scope; did you mean 'uint'?
84 | dp[curr][i] = aint.query( 1 , 1 , nod , st , i - 1 ) + s - sp[i];
| ^~~~
| uint
main.cpp:84:47: error: 'nod' was not declared in this scope
84 | dp[curr][i] = aint.query( 1 , 1 , nod , st , i - 1 ) + s - sp[i];
| ^~~
main.cpp:45:36: warning: unused variable 'z' [-Wunused-variable]
45 | int n , k , s , i , j , curr , z , k , ok , st , dr , mij;
| ^
main.cpp:45:44: warning: unused variable 'ok' [-Wunused-variable]
45 | int n , k , s , i , j , curr , z , k , ok , st , dr , mij;
| ^~
main.cpp:46:21: warning: unused variable 'val' [-Wunused-variable]
46 | long long sum , val;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
