Borderou de evaluare (job #266073)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Char (clasa a 7-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 ian. 2017 20:04:05 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:50:1: error: stray ‘#’ in program
user.cpp: In function ‘int main()’:
user.cpp:16:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:28:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:29:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:31:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:34:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:34:76: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp: At global scope:
user.cpp:50:3: error: ‘include’ does not name a type
user.cpp:56:28: error: redefinition of ‘int cap [10201]’
user.cpp:7:5: error: ‘int cap [10201]’ previously declared here
user.cpp:56:35: error: redefinition of ‘int f [26]’
user.cpp:7:31: error: ‘int f [26]’ previously declared here
user.cpp: In function ‘int main()’:
user.cpp:58:5: error: redefinition of ‘int main()’
user.cpp:9:5: error: ‘int main()’ previously defined here
user.cpp:65:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:77:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:78:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:80:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:83:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:83:76: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:63:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:66:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:70:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function ‘int main()’:
user.cpp:14:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:17:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:21:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]