Borderou de evaluare (job #2289561)
Utilizator | Data | 24 noiembrie 2018 20:31:57 | |
---|---|---|---|
Problema | Pietre | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:16:9: error: two or more data types in declaration of 'T'
int int T, A, B, cnt, sol[NMAX + 5];
^
main.cpp:16:12: error: two or more data types in declaration of 'A'
int int T, A, B, cnt, sol[NMAX + 5];
^
main.cpp:16:15: error: two or more data types in declaration of 'B'
int int T, A, B, cnt, sol[NMAX + 5];
^
main.cpp:16:18: error: two or more data types in declaration of 'cnt'
int int T, A, B, cnt, sol[NMAX + 5];
^~~
main.cpp:16:35: error: two or more data types in declaration of 'sol'
int int T, A, B, cnt, sol[NMAX + 5];
^
main.cpp: In function 'int main()':
main.cpp:22:28: error: 'cnt' was not declared in this scope
if (not(ap[i]) and cnt + i < NMAX) {
^~~
main.cpp:24:13: error: 'sol' was not declared in this scope
sol[i] = cnt + i;
^~~
main.cpp:30:10: error: 'T' was not declared in this scope
f >> T;
^
main.cpp:32:14: error: 'A' was not declared in this scope
f >> A >> B;
^
main.cpp:32:19: error: 'B' was not declared in this scope
f >> A >> B;
^
main.cpp:37:13: error: 'sol' was not declared in this scope
if (sol[A] == B)
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !