diff --git "a/khj20006/202601/02 BOJ G5 \352\260\204\355\214\220 \353\247\214\353\223\244\352\270\260.md" "b/khj20006/202601/02 BOJ G5 \352\260\204\355\214\220 \353\247\214\353\223\244\352\270\260.md" new file mode 100644 index 00000000..e33f0405 --- /dev/null +++ "b/khj20006/202601/02 BOJ G5 \352\260\204\355\214\220 \353\247\214\353\223\244\352\270\260.md" @@ -0,0 +1,29 @@ +```cpp +#include +using namespace std; +using ll = long long; + +const ll INF = 1e18; +const string S = "UOSPC"; + +int N; +string s; +ll arr[300000]{}; + +int main() { + cin.tie(0)->sync_with_stdio(0); + + cin>>N>>s; + for(int i=0;i>arr[i]; + + vector res(5, INF); + for(int i=0;i