Borderou de evaluare (job #1353312)
Utilizator | Data | 21 februarie 2015 14:04:00 | |
---|---|---|---|
Problema | Por Costel si Meciul | Status | done |
Runda | ONIS 2015, Runda 1 | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:13:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
memset(v1, 0, 100001);
^
user.c:13:3: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
user.c:54:1: warning: implicit declaration of function ‘getch’ [-Wimplicit-function-declaration]
getch();
^
user.c:10:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &t);
^
user.c:12:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &n, &m);
^
user.c:16:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &x, &y);
^
/tmp/ccet7M4i.o: In function `main':
user.c:(.text.startup+0x2a2): undefined reference to `getch'
collect2: error: ld returned 1 exit status
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !