Record Detail

Accepted

/in/p1.cpp: In function 'void printWord(std::__cxx11::string, bool*)':
/in/p1.cpp:15:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int i=0; i<word.size(); i++){
                 ~^~~~~~~~~~~~
/in/p1.cpp: In function 'int main()':
/in/p1.cpp:66:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(int i=0; i<word.size(); i++){
                    ~^~~~~~~~~~~~
/in/p1.cpp:78:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  } while(nGuessed < word.size() && score < 10);
          ~~~~~~~~~^~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Accepted 1ms 324.0 KiB
#2 Accepted 1ms 328.0 KiB
#3 Accepted 1ms 328.0 KiB
#4 Accepted 1ms 376.0 KiB

Information

Submit By
Type
Submission
Homework
Project One: Hangman
Language
C++
Submit At
2018-05-27 20:22:45
Judged At
2018-05-27 23:09:05
Judged By
Score
40
Total Time
7ms
Peak Memory
376.0 KiB