Borderou de evaluare (job #2285823)
Utilizator | Data | 19 noiembrie 2018 12:50:03 | |
---|---|---|---|
Problema | Cartele | Status | done |
Runda | Arhiva de probleme | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:6:7: error: 'N' undeclared here (not in a function)
int s[N][N], a[N][N], n, t;
^
main.c:15:1: error: unknown type name 'bool'
bool verif(){
^~~~
main.c: In function 'verif':
main.c:18:10: warning: implicit declaration of function 'egale' [-Wimplicit-function-declaration]
if ( egale() ){
^~~~~
main.c:19:14: error: 'true' undeclared (first use in this function)
return true;
^~~~
main.c:19:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:21:10: warning: implicit declaration of function 'simetrice' [-Wimplicit-function-declaration]
if ( simetrice() ){
^~~~~~~~~
main.c:24:5: warning: implicit declaration of function 'rotire' [-Wimplicit-function-declaration]
rotire();
^~~~~~
main.c:26:10: error: 'false' undeclared (first use in this function)
return false;
^~~~~
main.c: At top level:
main.c:28:1: error: unknown type name 'bool'
bool simetrice(){
^~~~
main.c: In function 'simetrice':
main.c:33:16: error: 'false' undeclared (first use in this function)
return false;
^~~~~
main.c:37:10: error: 'true' undeclared (first use in this function)
return true;
^~~~
main.c: At top level:
main.c:39:6: warning: conflicting types for 'rotire'
void rotire(){
^~~~~~
main.c:24:5: note: previous implicit declaration of 'rotire' was here
rotire();
^~~~~~
main.c: In function 'rotire':
main.c:40:7: warning: unused variable 'aux' [-Wunused-variable]
int aux[N][N], i, j;
^~~
main.c: In function 'main':
main.c:52:33: error: expected expression before '|' token
fout = fopen ( "cartele.out", |"w" );
^
main.c:55:11: error: type of formal parameter 1 is incomplete
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !