Borderou de evaluare (job #142628)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Magic1 (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 apr. 2015 19:24:32 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:19:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:19:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:19:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:19:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:19:67: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:19:80: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:19:93: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:19:106: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:19:119: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:19:132: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:21:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:23:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘int’ [-Wformat]
user.cpp:32:13: error: expected ‘;’ before ‘cif’
user.cpp:32:23: warning: statement has no effect [-Wunused-value]
user.cpp:50:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘int’ [-Wformat]
user.cpp:37:9: warning: unused variable ‘x’ [-Wunused-variable]
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]