Borderou de evaluare (job #1259965)

Utilizator Yasin_ibraimIbraim Yasin Yasin_ibraim Data 10 noiembrie 2014 19:07:28
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:17: error: ‘sctd’ is not a namespace-name using namespace sctd; ^ user.cpp:5:21: error: expected namespace-name before ‘;’ token using namespace sctd; ^ user.cpp:7:10: error: ‘string’ does not name a type struct s{string cuv;int count;}a[101]; ^ user.cpp:8:1: error: ‘string’ does not name a type string all; ^ user.cpp:9:1: error: ‘string’ does not name a type string cuvinte; ^ user.cpp: In function ‘int comp(s, s)’: user.cpp:10:24: error: ‘struct s’ has no member named ‘cuv’ int comp(s a,s b){if(a.cuv<b.cuv)recxurn 1; return 0;} ^ user.cpp:10:30: error: ‘struct s’ has no member named ‘cuv’ int comp(s a,s b){if(a.cuv<b.cuv)recxurn 1; return 0;} ^ user.cpp:10:34: error: ‘recxurn’ was not declared in this scope int comp(s a,s b){if(a.cuv<b.cuv)recxurn 1; return 0;} ^ user.cpp:10:42: error: expected ‘;’ before numeric constant int comp(s a,s b){if(a.cuv<b.cuv)recxurn 1; return 0;} ^ user.cpp: At global scope: user.cpp:11:21: error: redefinition of ‘int ct’ int ct=0,abc=0,nr=0,ct=0; ^ user.cpp:11:5: error: ‘int ct’ previously defined here int ct=0,abc=0,nr=0,ct=0; ^ user.cpp: In function ‘int main()’: user.cpp:22:9: error: ‘all’ was not declared in this scope all+=chara; ^ user.cpp:24:14: error: ‘all’ was not declared in this scope int size=all.length(); ^ user.cpp:46:21: error: ‘cx’ was not declared in this scope cx+=nr; ^ user.cpp:55:13: error: ‘cuvinte’ was not declared in this scope cuvinte=""; ^ user.cpp:72:25: error: ‘ccx’ was not declared in this scope ccx*=10;

Ceva nu functioneaza?