Borderou de evaluare (job #1192630)

Utilizator Barcau_EmanuelBarcau Emanuel Barcau_Emanuel Data 29 mai 2014 14:13:55
Problema Numar2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:11: error: expected initializer before ‘b’ char huge b[255001]; ^ user.cpp:7:1: error: ‘ifstream’ does not name a type ifstream f("numar2.in"); ^ user.cpp:8:1: error: ‘ofstream’ does not name a type ofstream g("numar2.out"); ^ user.cpp:11:11: error: ‘::main’ must return ‘int’ void main() ^ user.cpp: In function ‘int main()’: user.cpp:13:3: error: ‘f’ was not declared in this scope f>>n>>m; ^ user.cpp:19:7: error: ‘b’ was not declared in this scope b[i*a[k]]=1; ^ user.cpp:22:9: error: ‘b’ was not declared in this scope if (b[i]==1) ^ user.cpp:27:3: error: ‘g’ was not declared in this scope g<<i-1<<"\n"; ^

Ceva nu functioneaza?