Record Detail

Accepted

/in/p1.cpp: In function 'int findC(char, std::__cxx11::string, int*)':
/in/p1.cpp:22:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0;i<word.size();i++){
           ~^~~~~~~~~~~~
/in/p1.cpp: In function 'void deal(int*, std::__cxx11::string, std::__cxx11::string)':
/in/p1.cpp:56:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0;i<word.size();i++){
           ~^~~~~~~~~~~~
/in/p1.cpp:65:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0;i<pc.size();i++){
             ~^~~~~~~~~~
/in/p1.cpp:80:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0;i<word.size();i++)
           ~^~~~~~~~~~~~
/in/p1.cpp: In function 'std::__cxx11::string UI(int*, std::__cxx11::string, std::__cxx11::string)':
/in/p1.cpp:87:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(score<10&&sum<word.size()){
                ~~~^~~~~~~~~~~~
/in/p1.cpp:92:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0;i<word.size();i++){
             ~^~~~~~~~~~~~
/in/p1.cpp:103:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0;i<pc.size();i++)
             ~^~~~~~~~~~
/in/p1.cpp:116:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else if(sum==word.size())
             ~~~^~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Accepted 2ms 376.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 2ms 376.0 KiB
#4 Accepted 2ms 324.0 KiB
#5 Accepted 2ms 396.0 KiB
#6 Accepted 2ms 368.0 KiB
#7 Accepted 2ms 372.0 KiB
#8 Accepted 2ms 324.0 KiB
#9 Accepted 2ms 376.0 KiB
#10 Accepted 3ms 392.0 KiB
#11 Accepted 2ms 380.0 KiB
#12 Accepted 2ms 416.0 KiB
#13 Accepted 2ms 452.0 KiB
#14 Accepted 2ms 376.0 KiB
#15 Accepted 2ms 376.0 KiB
#16 Accepted 4ms 452.0 KiB
#17 Accepted 2ms 388.0 KiB
#18 Accepted 2ms 380.0 KiB
#19 Accepted 2ms 452.0 KiB
#20 Accepted 4ms 448.0 KiB

Information

Submit By
Type
Submission
Homework
Project One: Hangman
Language
C++
Submit At
2018-05-31 22:57:11
Judged At
2018-09-13 10:44:26
Judged By
Score
200
Total Time
55ms
Peak Memory
452.0 KiB