{"categories":[],"author_name":"satiseni","title":"[[likely]]\u304c\u5f79\u7acb\u3063\u305f\u8a71","provider_name":"Hatena Blog","type":"rich","author_url":"https://blog.hatena.ne.jp/satiseni/","description":"\u3053\u306e\u8a18\u4e8b\u306fstackoverflow\u3067\u8cea\u554f\u3057\u305f\u5185\u5bb9\u306e\u7d50\u8ad6\u3092\u307e\u3068\u3081\u305f\u3082\u306e\u3067\u3059\uff0e\u6b63\u76f4\uff0c [[likely]] attribute \u306a\u3093\u3066\u4eca\u307e\u3067\u4e00\u5ea6\u3082\u4f7f\u3063\u305f\u3053\u3068\u306a\u304b\u3063\u305f\u3067\u3059\uff0e \u3053\u3093\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u305f #include <stdio.h> #define N 19 int main(void){ int a[N]; int ans = 0; for(int i = 0; i < N; ++i){ a[i] = 0; } for(;;){ int i; ++ans; for(i = N - 1; a[i] == 2; --i){ if(i == 0){ printf(\"%d\\n\", ans); retur\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsatiseni.hateblo.jp%2Fentry%2F2020%2F11%2F21%2F174226\" title=\"[[likely]]\u304c\u5f79\u7acb\u3063\u305f\u8a71 - \u5e78\u305b\u306b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u5e78\u305b\u306b","width":"100%","height":"190","provider_url":"https://hatena.blog","published":"2020-11-21 17:42:26","version":"1.0","url":"https://satiseni.hateblo.jp/entry/2020/11/21/174226","blog_url":"https://satiseni.hateblo.jp/","image_url":null}