Borderou de evaluare (job #2700117)
Utilizator | Data | 26 ianuarie 2021 16:26:49 | |
---|---|---|---|
Problema | Bere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:19: error: expected ']' before ';' token
#define NMAX 15010;
^
main.cpp:11:7: note: in expansion of macro 'NMAX'
int s[NMAX];
^~~~
main.cpp:11:11: error: expected unqualified-id before ']' token
int s[NMAX];
^
main.cpp: In function 'int main()':
main.cpp:16:16: error: 's' was not declared in this scope
fin >> s[i];
^
main.cpp:24:18: error: 's' was not declared in this scope
if (x >= s[n]) {
^
main.cpp:30:13: error: 's' was not declared in this scope
if (s[n] - s[k - 1] <= x) {
^
main.cpp:39:17: error: 's' was not declared in this scope
if (s[md] - s[k - 1] > x)
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !