- Owner
- Arnold Beiland
- Problem
- Scrabble
- Source
- 0.78KB
- Result
- Accepted
Compiler output
prog.cpp: In function 'int main()': prog.cpp:17:18: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[31]' [-Wformat=] scanf("%s",&s); ^ prog.cpp:21:40: warning: array subscript has type 'char' [-Wchar-subscripts] for(int i=0;s[i];++i) ++s_stat[s[i]]; ^ prog.cpp:29:60: warning: array subscript has type 'char' [-Wchar-subscripts] for(int i=0;words[iw][i];++i) ++w_stat[words[iw][i]]; ^
Results
Test number Result Time 1 Ok 0.3404s 2 Ok 0.1191s 3 Ok 0.1160s 4 Ok 0.1416s 5 Ok 0.2740s 6 Ok 0.1541s 7 Ok 0.2200s 8 Ok 0.1743s 9 Ok 0.1805s 10 Ok 0.1124s