Job 21149

Owner
Pascu Adrian
Problem
Gray
Source
3.17KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'bool findSolution1(std::vector<bool>&, int, std::vector<int>&, int)':
prog.cpp:17:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (structures.size() == maxBitValue) {
                           ^
prog.cpp: In function 'bool findSolution2(std::vector<bool>&, int, std::vector<int>&, int)':
prog.cpp:77:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (structures.size() == maxBitValue) {
                           ^

Results

Test numberResultTime
1Ok! 0.2747s
2Wrong answer: 0001 -> 0010 0.2728s
Questions?

Sponsors Gold