Record Detail

Compile Error

/in/cipher.cpp: In function 'void encryptHelp()':
/in/cipher.cpp:21:7: error: unused variable 'num' [-Werror=unused-variable]
   int num;
       ^~~
/in/cipher.cpp: In function 'void decryptHelp(std::__cxx11::string)':
/in/cipher.cpp:66:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
     for (int i=0;i<line.length();i+=3){
                  ~^~~~~~~~~~~~~~
/in/cipher.cpp:87:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
     for (int i=0;i<line.length();i+=3){
                  ~^~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:23: recipe for target 'cipher.o' failed
make: *** [cipher.o] Error 1

Information

Submit By
Type
Submission
Homework
Exercise 3
Language
C++
Submit At
2024-11-03 22:04:27
Judged At
2024-11-03 22:04:27
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes