Borderou de evaluare (job #1421809)
Utilizator | Data | 19 aprilie 2015 12:49:17 | |
---|---|---|---|
Problema | Produs4 | Status | done |
Runda | ONIS 2015, Runda 3 | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:13:2: warning: implicit declaration of function ‘fscanf_s’ [-Wimplicit-function-declaration]
fscanf_s(fin,"%d",&t);
^
user.c:28:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d ",&n);
^
user.c:29:15: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(fscanf(fin,"%f ",&v[i])>0)
^
/tmp/cccgBVfH.o: In function `main':
user.c:(.text.startup+0x4f): undefined reference to `fscanf_s'
collect2: error: ld returned 1 exit status
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !