Borderou de evaluare (job #539374)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Joc5 (clasa a 10-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 4 mar. 2020 19:03:48 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:7:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat]
user.c:7:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long int *’ [-Wformat]
user.c:10:13: error: conflicting types for ‘i’
user.c:6:23: note: previous declaration of ‘i’ was here
user.c:10:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:10:5: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:15:13: error: redefinition of ‘i’
user.c:10:13: note: previous definition of ‘i’ was here
user.c:15:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:19:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat]
user.c:7:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]