Borderou de evaluare (job #1823575)
Utilizator | Data | 6 decembrie 2016 17:14:34 | |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:9:1: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
memset(p, 1, 2000005);
^
user.c:9:1: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
user.c:9:8: error: ‘p’ undeclared (first use in this function)
memset(p, 1, 2000005);
^
user.c:9:8: note: each undeclared identifier is reported only once for each function it appears in
user.c:14:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%d", &N);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !