Borderou de evaluare (job #2714186)
Utilizator | Data | 1 martie 2021 14:35:52 | |
---|---|---|---|
Problema | Branza | 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:20:14: error: 'a' was not declared in this scope
s += a[dq[st]] * c + s * (i - dq[st]) * c;
^
main.cpp:12:40: warning: unused variable 'sum' [-Wunused-variable]
long long n, s, t, st = 1, dr = 0, sum = 0, k, c;
^~~
main.cpp:12:49: warning: unused variable 'k' [-Wunused-variable]
long long n, s, t, st = 1, dr = 0, sum = 0, k, c;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !