Borderou de evaluare (job #2339280)
Utilizator | Data | 8 februarie 2019 17:17:16 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: 'include' does not name a type
include <stdlib.h>
^~~~~~~
main.cpp: In function 'int main()':
main.cpp:6:2: error: 'FILE' was not declared in this scope
FILE *in,*out;
^~~~
main.cpp:6:8: error: 'in' was not declared in this scope
FILE *in,*out;
^~
main.cpp:6:12: error: 'out' was not declared in this scope
FILE *in,*out;
^~~
main.cpp:7:27: error: 'fopen' was not declared in this scope
in=fopen("cmmdc.in", "rt");
^
main.cpp:9:19: error: 'fscanf' was not declared in this scope
fscanf(in,"%d",&a);
^
main.cpp:17:30: error: 'fprintf' was not declared in this scope
if (a!=1) fprintf(out,"%d",a);
^
main.cpp: At global scope:
main.cpp:20:1: error: expected declaration before '}' token
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !