Borderou de evaluare (job #1358965)
Utilizator | Data | 24 februarie 2015 20:45:24 | |
---|---|---|---|
Problema | Maxd | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: ‘ifstream’ does not name a type
ifstream fin("maxd.in");
^
user.cpp:4:1: error: ‘ofstream’ does not name a type
ofstream fout("maxd.out");
^
user.cpp: In function ‘int main()’:
user.cpp:10:5: error: ‘cin’ was not declared in this scope
cin>>a>>b;
^
user.cpp:23:5: error: expected ‘}’ before ‘else’
else
^
user.cpp:26:5: error: ‘cout’ was not declared in this scope
cout<<min<<nrdiv<<contor;
^
user.cpp:8:46: warning: unused variable ‘n1’ [-Wunused-variable]
int nrdiv=1,exp,d=2,n,min=10000,contor=0,n1=n;
^
user.cpp: At global scope:
user.cpp:28:5: error: expected unqualified-id before ‘return’
return 0;
^
user.cpp:29:1: error: expected declaration before ‘}’ token
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !