Record Detail

Compile Error

/in/simulation.cpp: In function 'void simulateRound(world_t&, unsigned int, bool)':
/in/simulation.cpp:392:23: error: variable 'instr' set but not used [-Werror=unused-but-set-variable]
         instruction_t instr = getInstruction(creature); // 获取当前指令
                       ^~~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 3
Language
C++
Submit At
2024-11-17 19:06:54
Judged At
2024-11-17 19:06:54
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes