Borderou de evaluare (job #2519728)
Utilizator | Data | 8 ianuarie 2020 13:00:16 | |
---|---|---|---|
Problema | Pairs | 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:21:5: error: redefinition of 'int main()'
int main(){
^~~~
main.cpp:5:5: note: 'int main()' previously defined here
int main()
^~~~
main.cpp:33:12: warning: unused variable 'nrPerechiNonBune' [-Wunused-variable]
long long nrPerechiNonBune = 0;
^~~~~~~~~~~~~~~~
main.cpp:22:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pairs.in", "r", stdin);
^
main.cpp:23:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pairs.out", "w", stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !