Borderou de evaluare (job #2261779)
Utilizator | Data | 16 octombrie 2018 17:47:28 | |
---|---|---|---|
Problema | Otilia | Status | done |
Runda | Lista lui wefgef | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:2: error: invalid preprocessing directive #includ
#includ<bits/stdc++.h>
^~~~~~
main.cpp:4:1: error: 'FILE' does not name a type
FILE*f=fopen("otilia.in","r");
^~~~
main.cpp:5:1: error: 'FILE' does not name a type
FILE*g=fopen("otilia.out","w");
^~~~
main.cpp: In function 'void solve(int)':
main.cpp:20:33: error: 'memset' was not declared in this scope
memset(mink, 0, sizeof(mink));
^
main.cpp:26:20: error: 'nmax' was not declared in this scope
for(int i=2;i<=nmax;i++) {
^~~~
main.cpp: In function 'int main()':
main.cpp:37:12: error: 'f' was not declared in this scope
fscanf(f,"%d",&m);
^
main.cpp:37:21: error: 'fscanf' was not declared in this scope
fscanf(f,"%d",&m);
^
main.cpp:44:24: error: 'sort' was not declared in this scope
sort(v+1,v+m+1,comp);
^
main.cpp:47:43: error: 'rezolv' was not declared in this scope
if(v[i].p!=v[i-1].p) rezolv(v[i].p);
^
main.cpp:51:27: error: 'g' was not declared in this scope
for(int i=1;i<=m;i++) g<<raspun[i]<<'\n';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !