Record Detail

Accepted

/in/p1.cpp: In function 'void init(std::__cxx11::string&, int*)':
/in/p1.cpp:18:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for( int i = 0 ; i < word.length(  ); ++i ) word[ i ] += 'A' - 'a';
                   ~~^~~~~~~~~~~~~~~~~
/in/p1.cpp: In function 'void show(const string&)':
/in/p1.cpp:27:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for( int i = 0; i < word.length(  ); ++i )
                  ~~^~~~~~~~~~~~~~~~~
/in/p1.cpp: In function 'bool check(const char&, std::__cxx11::string&, int*, int&)':
/in/p1.cpp:61:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for( int i = 0; i < word.length(  ); ++i ){
                  ~~^~~~~~~~~~~~~~~~~
/in/p1.cpp: In function 'void result(const bool&, const string&)':
/in/p1.cpp:81:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for( int i = 0; i < word.length(  ); ++i )
                  ~~^~~~~~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Accepted 2ms 396.0 KiB
#2 Accepted 2ms 380.0 KiB
#3 Accepted 2ms 376.0 KiB
#4 Accepted 2ms 372.0 KiB
#5 Accepted 2ms 376.0 KiB
#6 Accepted 2ms 396.0 KiB
#7 Accepted 2ms 380.0 KiB
#8 Accepted 3ms 460.0 KiB
#9 Accepted 2ms 376.0 KiB
#10 Accepted 2ms 376.0 KiB
#11 Accepted 2ms 448.0 KiB
#12 Accepted 2ms 380.0 KiB
#13 Accepted 2ms 416.0 KiB
#14 Accepted 2ms 384.0 KiB
#15 Accepted 2ms 320.0 KiB
#16 Accepted 3ms 444.0 KiB
#17 Accepted 2ms 376.0 KiB
#18 Accepted 2ms 380.0 KiB
#19 Accepted 2ms 396.0 KiB
#20 Accepted 2ms 452.0 KiB

Information

Submit By
Type
Submission
Homework
Project One: Hangman
Language
C++
Submit At
2018-06-03 11:55:48
Judged At
2018-09-13 10:44:39
Judged By
Score
200
Total Time
53ms
Peak Memory
460.0 KiB