Borderou de evaluare (job #1232917)

Utilizator TibixbAndrei Tiberiu Tibixb Data 24 septembrie 2014 11:22:24
Problema Swap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:2: error: invalid preprocessing directive #inlude #inlude<fstream> ^ user.cpp:3:1: error: declaration does not declare anything [-fpermissive] int ; ^ user.cpp:4:1: error: ‘ifstream’ does not name a type ifstream in("swap.in"); ^ user.cpp:5:1: error: ‘ofstream’ does not name a type ofstream out("swap.out"); ^ user.cpp: In function ‘int main()’: user.cpp:7:5: error: ‘in’ was not declared in this scope in>>a+1; ^ user.cpp:7:9: error: ‘a’ was not declared in this scope in>>a+1; ^ user.cpp:8:5: error: ‘La’ was not declared in this scope La=strlen(a); ^ user.cpp:8:16: error: ‘strlen’ was not declared in this scope La=strlen(a); ^ user.cpp:9:9: error: ‘b’ was not declared in this scope in>>b+1; ^ user.cpp:10:5: error: ‘Lb’ was not declared in this scope Lb=strlen(b); ^ user.cpp:11:9: error: ‘i’ was not declared in this scope for(i=1; i<=La; i++){ ^ user.cpp:12:9: error: ‘ma’ was not declared in this scope ma[a[i]]++; ^ user.cpp:13:9: error: ‘poza’ was not declared in this scope poza[a[i]][m[a[i]]=i; ^ user.cpp:13:20: error: ‘m’ was not declared in this scope poza[a[i]][m[a[i]]=i; ^ user.cpp:13:29: error: expected ‘]’ before ‘;’ token poza[a[i]][m[a[i]]=i; ^ user.cpp:15:9: error: ‘i’ was not declared in this scope for(i=1; i<=Lb; i++){ ^ user.cpp:16:9: error: ‘mb’ was not declared in this scope

Ceva nu functioneaza?