Borderou de evaluare (job #1543349)
Utilizator | Data | 6 decembrie 2015 10:41:41 | |
---|---|---|---|
Problema | KBetray | Status | done |
Runda | Algoritmiada 2016 - Runda 1, Juniori | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:2: error: invalid preprocessing directive #includea
#includea<fstream>
^
user.cpp:3:1: error: ‘ifstream’ does not name a type
ifstream f("kbetray.in");
^
user.cpp:4:1: error: ‘ofstream’ does not name a type
ofstream g("kbetray.out");
^
user.cpp: In function ‘int main()’:
user.cpp:9:15: error: storage size of ‘x’ isn’t known
{long N, K, x[],i,j,a[],b[],OK,aux,s;
^
user.cpp:9:23: error: storage size of ‘a’ isn’t known
{long N, K, x[],i,j,a[],b[],OK,aux,s;
^
user.cpp:9:27: error: storage size of ‘b’ isn’t known
{long N, K, x[],i,j,a[],b[],OK,aux,s;
^
user.cpp:11:1: error: ‘f’ was not declared in this scope
f>>N>>K;
^
user.cpp:13:12: error: ‘n’ was not declared in this scope
for(i=1;i<=n*2;i++)
^
user.cpp:19:12: error: ‘n’ was not declared in this scope
for(i=1;i<=n*2-1;i++)
^
user.cpp:32:12: error: ‘n’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:37:5: error: ‘g’ was not declared in this scope
g<<s;
^
user.cpp:9:29: warning: unused variable ‘OK’ [-Wunused-variable]
{long N, K, x[],i,j,a[],b[],OK,aux,s;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !