Borderou de evaluare (job #733483)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Kdiv (clasa a 5-a) | Compilator | c-32 |
Rundă | Tema 2 clasa a 6-a | Status | evaluat |
Dată | 24 sept. 2023 18:10:56 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:2:2: error: invalid preprocessing directive #unclude; did you mean #include?
2 | #unclude <stdlib.h>
| ^~~~~~~
| include
main.c:4:1: error: unknown type name 'using'
4 | using namespace std;
| ^~~~~
main.c:4:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
4 | using namespace std;
| ^~~
main.c: In function 'main':
main.c:30:9: error: 'cin' undeclared (first use in this function); did you mean 'fin'?
30 | cin>>x;
| ^~~
| fin
main.c:30:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:26:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | fscanf(fin,"%d%d",&n,&k);
| ^~~~~~~~~~~~~~~~~~~~~~~~