Borderou de evaluare (job #2672453)
Utilizator | Data | 13 noiembrie 2020 23:23:35 | |
---|---|---|---|
Problema | ZParcurgere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int f(int, int, int)':
main.cpp:36:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:38:5: error: redefinition of 'int main()'
int main() {
^~~~
main.cpp:5:5: note: 'int main()' previously defined here
int main()
^~~~
main.cpp:42:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &k);
^
main.cpp:46:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &x, &y);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !