Borderou de evaluare (job #1197566)
| Utilizator | Data | 12 iunie 2014 18:38:28 | |
|---|---|---|---|
| Problema | Emax | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:6:1: error: ‘ifstream’ does not name a type
ifstream in("emax.in");
^
user.cpp: In function ‘void cit(int&)’:
user.cpp:12:39: error: ‘in’ was not declared in this scope
#define verf ( (++CharB==MaxChar) ? ( in.read(Buffer,MaxChar),CharB=0 ) : (1) )
^
user.cpp:24:95: note: in expansion of macro ‘verf’
for( ; !( (Buffer[ CharB ]>='0' && Buffer[ CharB ]<='9') || ( Buffer[ CharB ] == '-' ) ); verf )
^
user.cpp:12:39: error: ‘in’ was not declared in this scope
#define verf ( (++CharB==MaxChar) ? ( in.read(Buffer,MaxChar),CharB=0 ) : (1) )
^
user.cpp:30:96: note: in expansion of macro ‘verf’
for( a=0; (Buffer[ CharB ]>='0' && Buffer[ CharB ]<='9'); a*=10,a+=( Buffer[ CharB ]-'0'), verf )
^
user.cpp: In function ‘int main()’:
user.cpp:37:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("emax.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
