Borderou de evaluare (job #2902711)
Utilizator | Data | 16 mai 2022 18:57:15 | |
---|---|---|---|
Problema | Ridicare la putere in timp logaritmic | Status | done |
Runda | Arhiva educationala | Compilator | c-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:28:10: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
28 | if((f=fopen("lgput.in","rt")!=NULL)
| ^
main.c:28:40: error: expected ')' before '{' token
28 | if((f=fopen("lgput.in","rt")!=NULL)
| ~ ^
| )
29 | {
| ~
main.c:28:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
28 | if((f=fopen("lgput.in","rt")!=NULL)
| ^~
main.c:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
38 | }
|
main.c:38:1: error: expected declaration or statement at end of input
38 | }
| ^
main.c:27:13: warning: unused variable 'g' [-Wunused-variable]
27 | FILE* f,g;
| ^
main.c:26:11: warning: unused variable 'p' [-Wunused-variable]
26 | int n,p;
| ^
main.c:26:9: warning: unused variable 'n' [-Wunused-variable]
26 | int n,p;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !