Borderou de evaluare (job #1473176)
Utilizator | Data | 18 august 2015 19:27:11 | |
---|---|---|---|
Problema | Confuzie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void cit(int&)’:
user.cpp:14:39: error: ‘in’ was not declared in this scope
#define verf ( (++CharB==MaxChar) ? ( in.read(Buffer,MaxChar),CharB=0 ) : (1) )
^
user.cpp:21:95: note: in expansion of macro ‘verf’
for( ; !( (Buffer[ CharB ]>='0' && Buffer[ CharB ]<='9') || ( Buffer[ CharB ] == '-' ) ); verf )
^
user.cpp:14:39: error: ‘in’ was not declared in this scope
#define verf ( (++CharB==MaxChar) ? ( in.read(Buffer,MaxChar),CharB=0 ) : (1) )
^
user.cpp:27: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 ‘void Dfs(int, int)’:
user.cpp:37:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[Node].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:92:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("confuzie.in", "r", stdin);
^
user.cpp:93:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("confuzie.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !