Borderou de evaluare (job #2628444)
Utilizator | Data | 16 iunie 2020 00:35:45 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from main.c:1:0:
main.c: In function 'read':
main.c:6:17: warning: implicit declaration of function 'getchar_unlcoked' [-Wimplicit-function-declaration]
#define getchar getchar_unlcoked
^
main.c:12:24: note: in expansion of macro 'getchar'
while (!isdigit(ch=getchar()));
^~~~~~~
main.c: In function 'print':
main.c:7:17: warning: implicit declaration of function 'putchar_unlocked' [-Wimplicit-function-declaration]
#define putchar putchar_unlocked
^
main.c:25:9: note: in expansion of macro 'putchar'
putchar(a%10 + '0');
^~~~~~~
main.c: In function 'main':
main.c:67:42: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
bits = (unsigned long long*) calloc(n>>6 + 1, sizeof (unsigned long long));
^~
main.c:61:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.in", "r", stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:62:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.out", "w", stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ccrFOacn.o: In function `read':
main.c:(.text+0x17): undefined reference to `getchar_unlcoked'
main.c:(.text+0x41): undefined reference to `getchar_unlcoked'
collect2: error: ld returned 1 exit status
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !