Borderou de evaluare (job #2087845)
Utilizator | Data | 14 decembrie 2017 13:15:16 | |
---|---|---|---|
Problema | Mst | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:61: error: expected ‘,’ or ‘...’ before ‘%’ token
int calc (double A, double B, double C, double & x1, double % x2) {
^
user.cpp: In function ‘int calc(double, double, double, double&, double)’:
user.cpp:33:5: error: ‘x2’ was not declared in this scope
x2 = (- B - delta) / (2 * A);
^
user.cpp: In function ‘double apm(double)’:
user.cpp:49:26: error: ‘m’ was not declared in this scope
for (int i = 1; i <= m; ++ i)
^
user.cpp:52:26: error: ‘m’ was not declared in this scope
for (int i = 1; i <= m; ++ i) {
^
user.cpp:55:19: error: too few arguments to function ‘int rad(int, int*)’
x = rad (x);
^
user.cpp:37:5: note: declared here
int rad (int x, int T[]) {
^
user.cpp:56:19: error: too few arguments to function ‘int rad(int, int*)’
y = rad (y);
^
user.cpp:37:5: note: declared here
int rad (int x, int T[]) {
^
user.cpp:67:46: error: ‘c’ was not declared in this scope
sol += t * t * v[i].a + t * v[i].b + c;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !