Record Detail

Accepted

/in/p1.cpp: In function 'std::__cxx11::string sortCharacter(const string&)':
/in/p1.cpp:25:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int index = 0; index < sequence.length()-1;index++){
                      ~~~~~~^~~~~~~~~~~~~~~~~~~~~
/in/p1.cpp:26:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j = 0; j < sequence.length()-1-index;j++){
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/p1.cpp: In function 'std::__cxx11::string makeUnderscores(const string&, const string&, const char&, bool&)':
/in/p1.cpp:65:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i_2 = 0; i_2 < chosenWord.length(); i_2++){
                    ~~~~^~~~~~~~~~~~~~~~~~~~~
/in/p1.cpp: In function 'std::__cxx11::string makeAllUnderScore(const string&)':
/in/p1.cpp:87:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int index =0; index < word.length(); index++)
                     ~~~~~~^~~~~~~~~~~~~~~
/in/p1.cpp: In function 'bool gamePlay(const string&)':
/in/p1.cpp:112:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < modifiedWord.length(); i++)
                   ~~^~~~~~~~~~~~~~~~~~~~~~~
/in/p1.cpp:119:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int k = 0; k < sequence.length(); k++)
                   ~~^~~~~~~~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Accepted 3ms 572.0 KiB
#2 Accepted 3ms 908.0 KiB
#3 Accepted 2ms 396.0 KiB
#4 Accepted 2ms 320.0 KiB

Information

Submit By
Type
Submission
Homework
Project One: Hangman (Special)
Language
C++
Submit At
2018-08-08 19:19:35
Judged At
2018-08-08 19:19:35
Judged By
Score
40
Total Time
10ms
Peak Memory
908.0 KiB