Borderou de evaluare (job #1880894)
Utilizator | Data | 15 februarie 2017 23:17:52 | |
---|---|---|---|
Problema | Orase | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:5: error: redefinition of ‘int main()’
int main() {
^
user.cpp:5:5: error: ‘int main()’ previously defined here
int main()
^
user.cpp:49:27: warning: unused variable ‘i1’ [-Wunused-variable]
int dmax = -1, distc, i1, i2;
^
user.cpp:49:31: warning: unused variable ‘i2’ [-Wunused-variable]
int dmax = -1, distc, i1, i2;
^
user.cpp:52:12: warning: unused variable ‘maxl’ [-Wunused-variable]
int i, maxl, maxd, md = -1, ml =-1;
^
user.cpp:52:18: warning: unused variable ‘maxd’ [-Wunused-variable]
int i, maxl, maxd, md = -1, ml =-1;
^
user.cpp:52:24: warning: unused variable ‘md’ [-Wunused-variable]
int i, maxl, maxd, md = -1, ml =-1;
^
user.cpp:52:33: warning: unused variable ‘ml’ [-Wunused-variable]
int i, maxl, maxd, md = -1, ml =-1;
^
user.cpp: In function ‘char nextch()’:
user.cpp:20:58: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(pos==BUF_SIZE) fread(buf, BUF_SIZE, 1, fin), pos=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !