Borderou de evaluare (job #2206443)
Utilizator | Data | 22 mai 2018 18:31:08 | |
---|---|---|---|
Problema | Expresie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:7: error: ‘MAX’ was not declared in this scope
int a[MAX];
^~~
user.cpp:12:7: error: ‘MAX’ was not declared in this scope
int s[MAX];
^~~
user.cpp: In function ‘int main()’:
user.cpp:21:8: error: ‘a’ was not declared in this scope
f >> a[i];
^
user.cpp:22:3: error: ‘s’ was not declared in this scope
s[i] = s[i - 1] + a[i];
^
user.cpp:29:18: error: ‘s’ was not declared in this scope
long long k = s[i - 1];
^
user.cpp:32:16: error: ‘a’ was not declared in this scope
k += 1LL * a[i] * a[i + 1] * a[i + 2];
^
user.cpp:37:16: error: ‘a’ was not declared in this scope
k += 1LL * a[i] * a[i + 1] + 1LL * a[j] * a[j + 1];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !