Borderou de evaluare (job #32988)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Alarma (clasa a 6-a) | Compilator | cpp |
Rundă | Tema 13 clasa a 6-a | Status | evaluat |
Dată | 29 nov. 2013 21:36:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:25:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:25:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat]
user.cpp:25:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat]
user.cpp:33:7: error: ‘INT_MAX’ was not declared in this scope
user.cpp:20:6: warning: unused variable ‘h1’ [-Wunused-variable]
user.cpp: In function ‘int calorii(char, char)’:
user.cpp:58:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:58:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:58:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:58:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp: In function ‘int main()’:
user.cpp:25:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:27:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:28:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:30:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]