Record Detail

Compile Error

/in/bank.cpp: In function 'int main(int, char**)':
/in/bank.cpp:397:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                 if (stat.first >= begin_int && stat.first < end_int) {
                     ~~~~~~~~~~~^~~~~~~~~~~~
/in/bank.cpp:397:59: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                 if (stat.first >= begin_int && stat.first < end_int) {
                                                ~~~~~~~~~~~^~~~~~~~~
/in/bank.cpp:424:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                 if (stat.first >= rb_int && stat.first < re_int) {
                     ~~~~~~~~~~~^~~~~~~~~
/in/bank.cpp:424:56: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                 if (stat.first >= rb_int && stat.first < re_int) {
                                             ~~~~~~~~~~~^~~~~~~~
/in/bank.cpp:521:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                 if (stat.first >= s_int && stat.first < s_int + 1000000) {
                     ~~~~~~~~~~~^~~~~~~~
/in/bank.cpp:521:55: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
                 if (stat.first >= s_int && stat.first < s_int + 1000000) {
                                            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project Tests
Language
GNU Make
Submit At
2023-11-14 10:47:17
Judged At
2023-11-14 10:47:17
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes