Borderou de evaluare (job #26375)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Dragoni | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 oct. 2013 10:14:11 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:4:1: warning: implicit declaration of function ‘fropen’ [-Wimplicit-function-declaration]
user.c:7:1: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int’ [-Wformat]
user.c:7:1: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat]
user.c:7:1: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘int’ [-Wformat]
user.c:7:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:7:6: warning: ‘n’ is used uninitialized in this function [-Wuninitialized]
user.c:7:6: warning: ‘k’ is used uninitialized in this function [-Wuninitialized]
user.c:7:6: warning: ‘antonio’ is used uninitialized in this function [-Wuninitialized]
/tmp/ccHJYUtd.o: In function `main':
user.c:(.text.startup+0x25): undefined reference to `fropen'
user.c:(.text.startup+0x42): undefined reference to `fropen'
collect2: ld returned 1 exit status