Borderou de evaluare (job #2394216)
Utilizator | Data | 1 aprilie 2019 13:37:34 | |
---|---|---|---|
Problema | Adlic | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:12: warning: missing terminating " character
ofstream g("adlic.out);
^
main.cpp:7:12: error: missing terminating " character
ofstream g("adlic.out);
^~~~~~~~~~~~
main.cpp:9:7: error: 'v' has not been declared
int n,v[1000005],r;
^
main.cpp:9:18: error: 'r' has not been declared
int n,v[1000005],r;
^
main.cpp:9:19: error: expected ')' before ';' token
int n,v[1000005],r;
^
main.cpp: In function 'void Solve1()':
main.cpp:12:24: error: 'n' was not declared in this scope
for(int i = 2;i <= n;i++)
^
main.cpp:13:12: error: 'v' was not declared in this scope
if(v[i] <= v[1]){
^
main.cpp: In function 'int main()':
main.cpp:20:10: error: 'r' was not declared in this scope
f >> r >> n;
^
main.cpp:20:15: error: 'n' was not declared in this scope
f >> r >> n;
^
main.cpp:22:14: error: 'v' was not declared in this scope
f >> v[i];
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !