Borderou de evaluare (job #2169136)
Utilizator | Data | 14 martie 2018 13:36:49 | |
---|---|---|---|
Problema | Caps | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:25:24: warning: multi-character character constant [-Wmultichar]
b[jb][s[i]-'32']=1;
^
user.cpp:29:20: warning: multi-character character constant [-Wmultichar]
b[jb][s[i]+'32']=1;
^
user.cpp:36:29: warning: multi-character character constant [-Wmultichar]
b[jb][s[i]-'32']+=b[t][s[i]-'32'];
^
user.cpp:36:46: warning: multi-character character constant [-Wmultichar]
b[jb][s[i]-'32']+=b[t][s[i]-'32'];
^
user.cpp:38:29: warning: multi-character character constant [-Wmultichar]
b[jb][s[i]-'32']+=b[t][s[i]+'32'];
^
user.cpp:38:46: warning: multi-character character constant [-Wmultichar]
b[jb][s[i]-'32']+=b[t][s[i]+'32'];
^
user.cpp: In function ‘int main()’:
user.cpp:16:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[ja][s[i]]=1;
^
user.cpp:21:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[ja][s[i]]+=a[t][s[i]];
^
user.cpp:21:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[ja][s[i]]+=a[t][s[i]];
^
user.cpp:21:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[ja][s[i]]+=a[t][s[i]];
^
user.cpp:25:13: error: ‘b’ was not declared in this scope
b[jb][s[i]-'32']=1;
^
user.cpp:29:9: error: ‘b’ was not declared in this scope
b[jb][s[i]+'32']=1;
^
user.cpp:36:18: error: ‘b’ was not declared in this scope
b[jb][s[i]-'32']+=b[t][s[i]-'32'];
^
user.cpp:38:18: error: ‘b’ was not declared in this scope
b[jb][s[i]-'32']+=b[t][s[i]+'32'];
^
user.cpp:39:5: error: ‘nrgr’ was not declared in this scope
nrgr=k/n;
^
user.cpp:42:5: error: ‘sol’ was not declared in this scope
sol=k%n;
^
user.cpp:43:5: error: ‘st’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !