Borderou de evaluare (job #1217661)
Utilizator | Data | 7 august 2014 21:31:16 | |
---|---|---|---|
Problema | Joc 18 | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:2: error: ‘include’ does not name a type
include<fstream.h>
^
user.cpp: In function ‘int divizor(long int)’:
user.cpp:5:2: error: ‘i’ was not declared in this scope
{i=2;int k=0;
^
user.cpp: In function ‘int main()’:
user.cpp:13:1: error: ‘ifstream’ was not declared in this scope
ifstream f("joc18.in");
^
user.cpp:13:10: error: expected ‘;’ before ‘f’
ifstream f("joc18.in");
^
user.cpp:14:1: error: ‘ofstream’ was not declared in this scope
ofstream g("joc18.out");
^
user.cpp:14:10: error: expected ‘;’ before ‘g’
ofstream g("joc18.out");
^
user.cpp:15:1: error: ‘f’ was not declared in this scope
f>>t;
^
user.cpp:16:5: error: ‘i’ was not declared in this scope
for(i=0;i<t;i++)
^
user.cpp:21:10: error: ‘g’ was not declared in this scope
if(ok==1)g<<"Aurel";
^
user.cpp:22:6: error: ‘g’ was not declared in this scope
else g<<"Bianca";}}
^
user.cpp:12:13: warning: unused variable ‘a’ [-Wunused-variable]
float n,aux,a;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !