Borderou de evaluare (job #266075)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Char (clasa a 7-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 ian. 2017 20:04:59 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:16:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:28:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:29:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:31:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:34:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:34:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c: At top level:
user.c:50:1: error: stray ‘#’ in program
user.c:50:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
user.c:58:5: error: redefinition of ‘main’
user.c:9:5: note: previous definition of ‘main’ was here
user.c: In function ‘main’:
user.c:65:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:77:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:78:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:80:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:83:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:83:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:63:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:66:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:70:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c: In function ‘main’:
user.c:14:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:17:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:21:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]