Borderou de evaluare (job #2215589)
Utilizator | Data | 22 iunie 2018 19:11:37 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:1: error: ‘include’ does not name a type
include<stdio.h>
^~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:11:2: error: ‘FILE’ was not declared in this scope
FILE *f;
^~~~
user.cpp:11:8: error: ‘f’ was not declared in this scope
FILE *f;
^
user.cpp:12:29: error: ‘fopen’ was not declared in this scope
f = fopen("cmmdc.in","r");
^
user.cpp:13:27: error: ‘fscanf’ was not declared in this scope
fscanf(f,"%d %d",&a,&b);
^
user.cpp:14:10: error: ‘fclose’ was not declared in this scope
fclose(f);
^
user.cpp:15:19: error: ‘cmmdc’ was not declared in this scope
int cmm=cmmdc(a,b);
^
user.cpp:19:25: error: ‘fprintf’ was not declared in this scope
fprintf(f,"%d\n",cmm);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !