제출 #1246964

#제출 시각아이디문제언어결과실행 시간메모리
1246964MateiKing80비교 (balkan11_cmp)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stc++.h> void remember(int a) { for (int i = 0; i < 12; i ++) if (a & (1 << i)) bit_set(i); } int compare(int b) { for (int i = 11; i >= 0; i --) { int x = bit_get(i); int y = (b & (1 << i)) > 0; if (x == y) continue; if (x > y) return -1; return 1; } return 0; }

컴파일 시 표준 에러 (stderr) 메시지

cmp.cpp:1:10: fatal error: bits/stc++.h: No such file or directory
    1 | #include <bits/stc++.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.