Borderou de evaluare (job #2628443)
Utilizator | Data | 16 iunie 2020 00:34:51 | |
---|---|---|---|
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: At top level:
main.c:34:11: error: unknown type name 'nod'
void add (nod **p, int x) {
^~~
main.c: In function 'dfs':
main.c:57:5: warning: implicit declaration of function 'add' [-Wimplicit-function-declaration]
add(&ans, x);
^~~
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);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !