Borderou de evaluare (job #2730425)
Utilizator | Data | 26 martie 2021 12:11:37 | |
---|---|---|---|
Problema | Deque | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:23:15: error: conflicting declaration 'long long int s'
long long s = 0;
^
main.cpp:22:15: note: previous declaration as 'int s'
int m, n, s = 1, dr = 0;
^
main.cpp:33:16: error: 'st' was not declared in this scope
while (st <= dr && v[i] <= v[deq[dr]])
^~
main.cpp:37:17: error: 'st' was not declared in this scope
if (deq[st] < i - n + 1) st++;
^~
main.cpp:38:45: error: 'st' was not declared in this scope
if (i >= n - 1) s += v[deq[st]];
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !