Borderou de evaluare (job #429449)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Capsuni | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 feb. 2019 13:53:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:10: error: ‘::main’ must return ‘int’
user.cpp: In function ‘int main()’:
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:12:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:14:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]