Borderou de evaluare (job #1357063)
Utilizator | Data | 23 februarie 2015 19:00:18 | |
---|---|---|---|
Problema | Proc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: ‘ifstram’ does not name a type
ifstram fin("proc.in");
^
user.cpp:6:13: error: two or more data types in declaration of ‘vf’
int vf(int t){
^
user.cpp: In function ‘int main()’:
user.cpp:24:2: error: ‘fin’ was not declared in this scope
fin>>n>>k>>p;
^
user.cpp:24:7: error: ‘n’ was not declared in this scope
fin>>n>>k>>p;
^
user.cpp:24:10: error: ‘k’ was not declared in this scope
fin>>n>>k>>p;
^
user.cpp:24:13: error: ‘p’ was not declared in this scope
fin>>n>>k>>p;
^
user.cpp:25:2: error: ‘d’ was not declared in this scope
d=n-k;
^
user.cpp:27:2: error: ‘u’ was not declared in this scope
u=2000000000;
^
user.cpp:29:3: error: ‘mid’ was not declared in this scope
mid=(p+u)/2;
^
user.cpp:30:12: error: ‘vf’ was not declared in this scope
if(vf(mid)==0){
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !