Borderou de evaluare (job #313565)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Decupare | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 22 sept. 2017 19:23:21 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:28: error: narrowing conversion of ‘(i - k)’ from ‘long long int’ to ‘int’ inside { } [-fpermissive]
user.cpp:38:28: error: narrowing conversion of ‘(i + -0x00000000000000001ll)’ from ‘long long int’ to ‘int’ inside { } [-fpermissive]
user.cpp:52:28: error: narrowing conversion of ‘(i - k)’ from ‘long long int’ to ‘int’ inside { } [-fpermissive]
user.cpp:52:28: error: narrowing conversion of ‘(i + -0x00000000000000001ll)’ from ‘long long int’ to ‘int’ inside { } [-fpermissive]
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:47:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]