Borderou de evaluare (job #1960143)
Utilizator | Data | 10 aprilie 2017 11:15:10 | |
---|---|---|---|
Problema | Flori5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:23: error: ‘nmax’ was not declared in this scope
long long n, m, k, sp[nmax], cp[nmax], sol=0, x, y, s, c;
^
user.cpp:3:33: error: ‘nmax’ was not declared in this scope
long long n, m, k, sp[nmax], cp[nmax], sol=0, x, y, s, c;
^
user.cpp: In function ‘int main()’:
user.cpp:13:9: error: ‘sp’ was not declared in this scope
sp[i] = sp[i-1] + x / k;
^
user.cpp:14:9: error: ‘cp’ was not declared in this scope
cp[i] = cp[i-1] + x % k;
^
user.cpp:24:13: error: ‘sp’ was not declared in this scope
s = sp[y];
^
user.cpp:25:13: error: ‘cp’ was not declared in this scope
c = cp[y];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !