Record Detail

Runtime Error

/in/vendingmachine.cpp: In member function 'bool VendingMachine::repOK()':
/in/vendingmachine.cpp:88:51: warning: for increment expression has no effect [-Wunused-value]
     for(int i=static_cast<int>(this->type)+1;i++;i<MAX_TYPE){
# Status Time Cost Memory Cost
#1 Runtime Error (-11) Detail 2ms 464.0 KiB
#2 Runtime Error (-11) Detail 2ms 512.0 KiB
#3 Runtime Error (-6) Detail 2ms 464.0 KiB
#4 Runtime Error (-11) Detail 2ms 464.0 KiB
#5 Runtime Error (-11) Detail 2ms 464.0 KiB

Information

Submit By
Type
Submission
Homework
Exercise 6
Language
C++
Submit At
2023-12-03 18:04:32
Judged At
2023-12-03 18:04:32
Judged By
Score
0
Total Time
11ms
Peak Memory
512.0 KiB