Borderou de evaluare (job #804252)
Utilizator | Data | 29 octombrie 2012 15:11:57 | |
---|---|---|---|
Problema | Intervale2 | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9: warning: ISO C++ forbids declaration of ‘main’ with no type
user.cpp: In function ‘int main()’:
user.cpp:21: warning: format ‘%ld’ expects type ‘long int*’, but argument 3 has type ‘int*’
user.cpp:33: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘int’
user.cpp:14: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
user.cpp:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
user.cpp:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
user.cpp: In function ‘int main()’:
user.cpp:39: error: redefinition of ‘int main()’
user.cpp:9: error: ‘int main()’ previously defined here
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !