Job 12304

Owner
Arnold Beiland
Problem
Scrabble
Source
0.51KB
Result
Time Limit Exceeded

Compiler output

prog.cpp: In function 'bool good(const string&)':
prog.cpp:10:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<w.size();++i) ++stat[w[i]];
                  ^
prog.cpp:10:44: warning: array subscript has type 'char' [-Wchar-subscripts]
     for(int i=0;i<w.size();++i) ++stat[w[i]];
                                            ^
prog.cpp: In function 'int main()':
prog.cpp:22:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<seq.size();++i) ++seq_stat[seq[i]];
                  ^
prog.cpp:22:52: warning: array subscript has type 'char' [-Wchar-subscripts]
     for(int i=0;i<seq.size();++i) ++seq_stat[seq[i]];
                                                    ^

Results

Test numberResultTime
1Time Limit Exceeded2.2134s
Questions?

Sponsors Gold