Record Detail

Accepted

In file included from /in/driver/driver.cpp:1:0:
/in/ex2.h: In function 'int frequency(User, std::__cxx11::string)':
/in/ex2.h:63:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if((x=title.find(word,i))!=string::npos)
            ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/in/ex2.h:68:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if((x=content.find(word,i))!=string::npos)
            ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# Status Time Cost Memory Cost
#1 Accepted 2ms 380.0 KiB
#2 Accepted 2ms 444.0 KiB
#3 Accepted 1ms 404.0 KiB
#4 Accepted 2ms 396.0 KiB
#5 Accepted 1ms 392.0 KiB
#6 Accepted 1ms 384.0 KiB
#7 Accepted 2ms 400.0 KiB
#8 Accepted 2ms 388.0 KiB
#9 Accepted 1ms 452.0 KiB
#10 Accepted 2ms 424.0 KiB
#11 Accepted 1ms 384.0 KiB
#12 Accepted 2ms 388.0 KiB
#13 Accepted 1ms 384.0 KiB
#14 Accepted 2ms 384.0 KiB
#15 Accepted 1ms 384.0 KiB
#16 Accepted 2ms 424.0 KiB
#17 Accepted 1ms 396.0 KiB
#18 Accepted 1ms 396.0 KiB
#19 Accepted 2ms 460.0 KiB
#20 Accepted 1ms 404.0 KiB

Information

Submit By
Type
Submission
Homework
Exercise 2
Language
C++
Submit At
2022-09-30 11:32:18
Judged At
2022-10-03 16:16:03
Judged By
Score
300
Total Time
40ms
Peak Memory
460.0 KiB