Record Detail

Wrong Answer

/in/p1.cpp: In function 'int compare(std::__cxx11::string&, int, int*, std::__cxx11::string&, char)':
/in/p1.cpp:105:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (pos != answer.npos)
/in/p1.cpp: In function 'void display_info(std::__cxx11::string&, int*, std::__cxx11::string, int)':
/in/p1.cpp:127:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < answer.length(); i++)
                    ~~^~~~~~~~~~~~~~~~~
/in/p1.cpp:135:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < answered.length(); i++)
                    ~~^~~~~~~~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Accepted 2ms 376.0 KiB
#2 Accepted 2ms 368.0 KiB
#3 Accepted 2ms 508.0 KiB
#4 Accepted 2ms 396.0 KiB
#5 Accepted 2ms 376.0 KiB
#6 Accepted 2ms 380.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 396.0 KiB
#9 Wrong Answer 2ms 524.0 KiB
#10 Wrong Answer 2ms 396.0 KiB
#11 Wrong Answer 2ms 376.0 KiB
#12 Wrong Answer 2ms 376.0 KiB
#13 Wrong Answer 2ms 384.0 KiB
#14 Wrong Answer 2ms 388.0 KiB
#15 Wrong Answer 2ms 372.0 KiB
#16 Wrong Answer 2ms 368.0 KiB
#17 Accepted 2ms 376.0 KiB
#18 Accepted 2ms 376.0 KiB
#19 Accepted 2ms 504.0 KiB
#20 Wrong Answer 2ms 376.0 KiB

Information

Submit By
Type
Submission
Homework
Project One: Hangman
Language
C++
Submit At
2018-06-03 20:50:38
Judged At
2018-09-13 10:45:06
Judged By
Score
110
Total Time
49ms
Peak Memory
524.0 KiB