Job 20414

Owner
Ninincu Cristian
Problem
Words
Contest
MindCoding 2017 Final 2
Source
1.18KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:30:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       while(j < word.size()){
               ^
prog.cpp:40:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if(i==j && j == word.size() ){
                    ^
prog.cpp:23:8: warning: variable 'ok' set but not used [-Wunused-but-set-variable]
   bool ok;
        ^

Results

Test numberResultTime
1Wrong answer0.2455s
Questions?

Sponsors Gold