{"description":"\u3044\u304d\u306a\u308a\u3067\u3059\u304c\u554f\u984c\u3067\u3059\uff0e \u4ee5\u4e0b\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\uff0c\u30a4\u30f3\u30c7\u30f3\u30c8\uff08\u5b57\u4e0b\u3052\uff09\u304c\u306a\u304f\uff0c\u975e\u5e38\u306b\u8aad\u307f\u306b\u304f\u304f\u306a\u3063\u3066\u3044\u307e\u3059\uff0e /* ordinal.c : 1st, 2nd, ... */ #include <stdio.h> int main(void) { int i; for (i = 1; i <= 1000; i++) { int mod100 = i % 100; int mod10 = i % 10; switch (mod100) { case 11: case 12: case 13: printf(\"%dth\\n\", i); break; default: switch (mod10) { \u2026","url":"https://takehikom.hateblo.jp/entry/20161202/1480690799","author_url":"https://blog.hatena.ne.jp/takehikom/","title":" \u30a4\u30f3\u30c7\u30f3\u30c8\u3057\u3088\u3046!","provider_url":"https://hatena.blog","version":"1.0","width":"100%","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakehikom.hateblo.jp%2Fentry%2F20161202%2F1480690799\" title=\" \u30a4\u30f3\u30c7\u30f3\u30c8\u3057\u3088\u3046! - \u308f\u3055\u3063\u304dhb\" 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":"\u308f\u3055\u3063\u304dhb","author_name":"takehikom","published":"2016-12-02 23:59:59","provider_name":"Hatena Blog","categories":["computing"],"height":"190","image_url":null,"blog_url":"https://takehikom.hateblo.jp/"}