Borderou de evaluare (job #949033)
Utilizator | Data | 12 mai 2013 10:39:29 | |
---|---|---|---|
Problema | Factorial | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘read’:
user.c:17:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=]
fscanf(f, "%d", &p);
^
user.c: In function ‘write’:
user.c:24:2: error: unknown type name ‘fprunsigned’
fprunsigned longf(f, "%d", n);
^
user.c:24:23: error: expected ‘)’ before string constant
fprunsigned longf(f, "%d", n);
^
user.c: At top level:
user.c:63:15: warning: return type of ‘main’ is not ‘int’ [-Wmain]
unsigned long main()
^
user.c: In function ‘main’:
user.c:67:2: error: unknown type name ‘prunsigned’
prunsigned longf("p = %8d, n = %8d\t", p, n);
^
user.c:67:19: error: expected declaration specifiers or ‘...’ before string constant
prunsigned longf("p = %8d, n = %8d\t", p, n);
^
user.c:67:41: error: expected declaration specifiers or ‘...’ before ‘p’
prunsigned longf("p = %8d, n = %8d\t", p, n);
^
user.c:67:44: error: expected declaration specifiers or ‘...’ before ‘n’
prunsigned longf("p = %8d, n = %8d\t", p, n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !