Borderou de evaluare (job #2098444)
Utilizator | Data | 2 ianuarie 2018 20:11:09 | |
---|---|---|---|
Problema | Carpet Bomber | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void citeste(int&)’:
user.cpp:20:18: error: ‘buff’ was not declared in this scope
while(!('0'<=buff[poz]&&buff[poz]<='9'))
^
user.cpp:20:23: error: ‘poz’ was not declared in this scope
while(!('0'<=buff[poz]&&buff[poz]<='9'))
^
user.cpp:22:19: error: ‘DIM’ was not declared in this scope
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:24:16: error: ‘buff’ was not declared in this scope
while('0'<=buff[poz]&&buff[poz]<='9')
^
user.cpp:24:21: error: ‘poz’ was not declared in this scope
while('0'<=buff[poz]&&buff[poz]<='9')
^
user.cpp:27:19: error: ‘DIM’ was not declared in this scope
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:55:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("carpetbomber.in","r",stdin);
^
user.cpp:56:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("carpetbomber.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !