Files
RISC-V-Simulator/test/testcases/io.inc
2024-07-24 11:54:23 +00:00

15 lines
249 B
C++

int judgeResult = 0;
const int Mod = 253;
void printInt(int x) {
judgeResult ^= x;
judgeResult += 173;
}
void printStr(const char *str) {
for (const char *cur = str; *cur != 0; ++cur) {
judgeResult ^= *cur;
judgeResult += 521;
}
}