Borderou de evaluare (job #2041435)
Utilizator | Data | 17 octombrie 2017 12:20:41 | |
---|---|---|---|
Problema | Long Story Short | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:14: error: variable ‘std::ifstream fin’ has initializer but incomplete type
ifstream fin ("lss.in");
^
user.cpp:7:14: error: variable ‘std::ofstream fout’ has initializer but incomplete type
ofstream fout("lss.out");
^
user.cpp: In function ‘int main()’:
user.cpp:22:20: error: ‘mx’ was not declared in this scope
scanf ("%d%d",&mx,&ntarg);
^
user.cpp:22:24: error: ‘ntarg’ was not declared in this scope
scanf ("%d%d",&mx,&ntarg);
^
user.cpp:24:10: error: ‘i’ was not declared in this scope
for (i=1;i<=ntarg;++i)
^
user.cpp:29:17: error: ‘n’ was not declared in this scope
sort (v+1,v+n+1,cmp);
^
user.cpp:29:21: error: ‘cmp’ was not declared in this scope
sort (v+1,v+n+1,cmp);
^
user.cpp:31:10: error: ‘i’ was not declared in this scope
for (i=1;i<=n;++i)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !