Borderou de evaluare (job #2280848)
Utilizator | Data | 11 noiembrie 2018 11:30:56 | |
---|---|---|---|
Problema | Inv | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:80:15: error: conflicting declaration 'long long int rez'
long long rez=0;
^~~
main.cpp:70:13: note: previous declaration as 'int rez'
int i,n,rez=0;
^~~
main.cpp:71:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.in","r",stdin);
^
main.cpp:72:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.out","w",stdout);
^
main.cpp: In function 'char getChar()':
main.cpp:13:28: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(BUF,LIM,1,stdin);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !