Record Detail

Compile Error

In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:23:30: error: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Werror,-Wfloat-conversion]
    return r_usage.ru_maxrss / 1024.0; // Peak memory usage in kilobytes
    ~~~~~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~
1 error generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1

Information

Submit By
Type
Submission
Homework
Project3
Language
C++
Submit At
2024-11-27 21:47:19
Judged At
2024-11-27 21:47:19
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes