Record Detail

Compile Error

/in/simulation.cpp: In function 'void printGrid(const grid_t&)':
/in/simulation.cpp:593:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
             if (c < static_cast<int>(grid.width)) {
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors

Information

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