This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// main() from https://github.com/simnalamburt/snippets/blob/master/cpp/y-combinator.cpp which is licensed under the Apache License 2.0. | |
// Apache-2.0/MIT. | |
// -------- | |
#include <stdint.h> | |
#include <iostream> | |
template <typename Func> | |
auto y(Func f) { | |
auto g = [f](auto r){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
테스트개수: (단어 읽기) 숫자로 | |
반복 1~테스트개수 의 번호 마다 | |
답: 0 | |
최대부끄럼지수:(단어 읽기) 숫자로 | |
부끄럼표: 단어 읽기 | |
남은사람: 0 | |
반복 부끄럼표 의 부끄럼지수_글자 마다 | |
부끄럼지수: 부끄럼지수_글자 숫자로 |