{"id":7167,"date":"2016-07-04T15:56:34","date_gmt":"2016-07-04T06:56:34","guid":{"rendered":"http:\/\/www.webcyou.com\/?p=7167"},"modified":"2016-08-14T23:09:15","modified_gmt":"2016-08-14T14:09:15","slug":"c%e8%a8%80%e8%aa%9e-%e9%85%8d%e5%88%97","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=7167","title":{"rendered":"C\u8a00\u8a9e \u914d\u5217"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/c-lan.png\" alt=\"c-lan\" width=\"536\" height=\"176\" class=\"alignnone  wp-image-7269\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/c-lan.png 600w, https:\/\/www.webcyou.com\/wp-content\/uploads\/c-lan-300x99.png 300w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/p>\n<p>\u4eca\u56de\u306fC\u8a00\u8a9e\u306e\u914d\u5217\u306b\u3064\u3044\u3066\u3001\u3064\u3089\u3064\u3089\u3068\u3002<\/p>\n<h4>\u914d\u5217<\/h4>\n<p>C\u8a00\u8a9e\u306e\u914d\u5217\u306f\u300c\u540c\u3058\u578b\u306e\u5024\u3092\u307e\u3068\u3081\u3066\u8a18\u61b6\u3059\u308b\u300d\u3068\u3044\u3046\u6a5f\u80fd\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u914d\u5217\u306e\u5ba3\u8a00 \u69cb\u6587<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\u578b\u540d \u914d\u5217\u540d&#x5B;\u8981\u7d20\u6570];<\/pre>\n<p><strong>\u4f8b\uff1a<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">int arr&#x5B;5];<\/pre>\n<p><strong>\u5229\u7528\u4f8b\uff1a<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">int arr&#x5B;5];\r\narr&#x5B;0] = 23;\r\narr&#x5B;1] = 90;\r\narr&#x5B;2] = 2;\r\narr&#x5B;3] = 3;\r\narr&#x5B;4] = 18;<\/pre>\n<p><strong>\u914d\u5217\u8981\u7d20\u3078\u306e\u5024\u306e\u4ee3\u5165 \u69cb\u6587\uff1a<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\u914d\u5217\u540d&#x5B;\u6dfb\u5b57] = \u5f0f;<\/pre>\n<p><strong>\u5024 \u51fa\u529b\u4f8b\uff1a<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">#include &lt;stdio.h&gt;\r\nint main(void)\r\n{\r\n  int arr&#x5B;5];\r\n  int i;\r\n\r\n  arr&#x5B;0] = 23;\r\n  arr&#x5B;1] = 90;\r\n  arr&#x5B;2] = 2;\r\n  arr&#x5B;3] = 3;\r\n  arr&#x5B;4] = 18;\r\n\r\n  for(i = 0; i &lt; 5; i++)\u00a0{\r\n    printf(&quot;%d\u756a\u76ee\u306e\u6570\u5b57\u306f%d\u3067\u3059\u3002\u00a5n&quot;, i + 1, arr&#x5B;i]);\r\n  }\r\n  return 0;\r\n}<\/pre>\n<p><strong>\u7d50\u679c\uff1a<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/ec0acf00af17aaa5fc6577370046467d.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-08-14 16.07.28\" width=\"157\" height=\"73\" class=\"alignnone size-full wp-image-7386\" \/><\/p>\n<h5>\u5165\u529b\u306e\u64cd\u4f5c<\/h5>\n<p>\u30ad\u30fc\u30dc\u30fc\u30c9\u304b\u3089\u5165\u529b\u3057\u305f\u6570\u5b57\u3092\u914d\u5217\u306b\u683c\u7d0d\u3057\u3066\u51fa\u529b\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">#include &lt;stdio.h&gt;\r\n\r\nint main(void)\r\n{\r\n  int arr&#x5B;5];\r\n  int i, j;\r\n  \r\n  printf(&quot;5\u3064\u306e\u6570\u5b57\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u00a5n&quot;);\r\n\r\n  for(i = 0; i &lt; 5; i++)\u00a0{\r\n    scanf(&quot;%d&quot;, &amp;arr&#x5B;i]);\r\n  }\r\n  for(j = 0; j &lt; 5; j++)\u00a0{\r\n    printf(&quot;%d\u756a\u76ee\u306e\u6570\u5b57\u306f%d\u3067\u3059\u3002\u00a5n&quot;,\u00a0j + 1, arr&#x5B;j]);\r\n  }\r\n  return 0;\r\n}<\/pre>\n<p><strong>\u7d50\u679c\uff1a<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/e67bf6af955eb89edf101c96745d415c.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-08-14 16.13.17\" width=\"213\" height=\"155\" class=\"alignnone size-full wp-image-7387\" \/><\/p>\n<h4>\u914d\u5217\u306e\u521d\u671f\u5316<\/h4>\n<p><strong>\u914d\u5217\u306e\u521d\u671f\u5316 \u69cb\u6587<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\u578b\u540d \u914d\u5217\u540d&#x5B;\u8981\u7d20\u6570] = {\u5024 0, \u5024 1, \u2026};<\/pre>\n<p>\u5148\u307b\u3069\u306e\u4f8b\u3092\u4e0a\u8a18\u306e\u521d\u671f\u5316\u3067\u884c\u3046\u3068\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">int arr&#x5B;5] = {23, 90, 2, 3, 18};<\/pre>\n<p>\u3068\u30015\u3064\u306e\u914d\u5217\u8981\u7d20\u3092\u521d\u671f\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>{}\u4e2d\u306b\u6307\u5b9a\u3059\u308b\u5024\u306f\u3001<strong>\u521d\u671f\u5316\u5b50(initializer)<\/strong>\u3068\u547c\u3070\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u4f8b\u6587\uff1a<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">#include &lt;stdio.h&gt;\r\n\r\nint main(void)\r\n{\r\n  int arr&#x5B;5] = {23, 90, 2, 3, 18};\r\n  int i;\r\n\r\n  for(i = 0; i &lt; 5; i++)\u00a0{\r\n    printf(&quot;%d\u756a\u76ee\u306e\u6570\u5b57\u306f%d\u3067\u3059\u3002\u00a5n&quot;, i + 1, arr&#x5B;i]);\r\n  }\r\n  return 0;\r\n}<\/pre>\n<p><strong>\u7d50\u679c\uff1a<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/cb614d62482dcf76f2db7dc8bf16ae9f.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-08-14 21.54.16\" width=\"157\" height=\"75\" class=\"alignnone size-full wp-image-7388\" \/><\/p>\n<h5>\u30de\u30af\u30ed<\/h5>\n<p><strong>\u30de\u30af\u30ed\u306e\u5b9a\u7fa9\uff1a<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">#define \u30de\u30af\u30ed\u540d \u7f6e\u63db\u3059\u308b\u6587\u5b57\u5217<\/pre>\n<p>#define\u3092\u4f7f\u3063\u3066\u6307\u5b9a\u3059\u308b\u540d\u524d\u3092\u30de\u30af\u30ed(macro)\u3068\u3044\u3044\u307e\u3059\u3002<br \/>\n\u5148\u307b\u3069\u306e\u4f8b\u6587\u306e5\u306e\u6570\u5b57\u3092\u5b9a\u6570\u3068\u3057\u3001\u30de\u30af\u30ed\u5b9a\u7fa9\u3092\u884c\u3063\u305f\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">#include &lt;stdio.h&gt;\r\n\r\n#define NUM 5\r\n\r\nint main(void)\r\n{\r\n  int arr&#x5B;NUM] = {23, 90, 2, 3, 18};\r\n  int i;\r\n\r\n  for(i = 0; i &lt; NUM; i++)\u00a0{\r\n    printf(&quot;%d\u756a\u76ee\u306e\u6570\u5b57\u306f%d\u3067\u3059\u3002\u00a5n&quot;, i + 1, arr&#x5B;i]);\r\n  }\r\n  return 0;\r\n}<\/pre>\n<p><strong>\u7d50\u679c\uff1a<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/cb614d62482dcf76f2db7dc8bf16ae9f.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-08-14 21.54.16\" width=\"157\" height=\"75\" class=\"alignnone size-full wp-image-7388\" \/><\/p>\n<h5>\u5185\u5bb9\u3092\u30bd\u30fc\u30c8<\/h5>\n<p>\u5165\u529b\u3055\u308c\u305f\u6570\u5b57\u3092\u914d\u5217\u306b\u683c\u7d0d\u3057\u3066\u30bd\u30fc\u30c8\u3092\u884c\u3046\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">#include &lt;stdio.h&gt;\r\n\r\n#define NUM 5\r\n\r\nint main(void)\r\n{\r\n  int arr&#x5B;NUM];\r\n  int tmp;\r\n\r\n  int i, j, s, t;\r\n\r\n  printf(&quot;%d\u3064\u306e\u6570\u5b57\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u00a5n&quot;, NUM);\r\n\r\n  for(i = 0; i &lt; NUM; i++)\u00a0{\r\n    scanf(&quot;%d&quot;, &amp;arr&#x5B;i]);\r\n  }\r\n  for(s = 0; s\u00a0&lt; NUM - 1; s++) {\r\n    for(t = s + 1; t &amp;lt; NUM; t++) {\r\n      if(arr&#x5B;t] &gt; arr&#x5B;s]) {\r\n        tmp = arr&#x5B;t];\r\n        arr&#x5B;t] = arr&#x5B;s];\r\n        arr&#x5B;s] = tmp;\r\n      }\r\n    }\r\n  }\r\n  \r\n  for(j = 0; j &lt; NUM; j++)\u00a0{\r\n    printf(&quot;%d\u756a\u76ee\u306e\u6570\u5b57\u306f%d\u3067\u3059\u3002\u00a5n&quot;,\u00a0j + 1, arr&#x5B;j]);\r\n  }\r\n  return 0;\r\n}<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/47872ce8b6af29817a612eac87a196e8.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-08-14 22.01.30\" width=\"213\" height=\"156\" class=\"alignnone size-full wp-image-7389\" \/><\/p>\n<h5>\u591a\u6b21\u5143\u914d\u5217<\/h5>\n<p><strong>\u591a\u6b21\u5143\u914d\u5217\u306e\u5ba3\u8a00 \u69cb\u6587\uff082\u6b21\u5143\uff09<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\u578b\u540d \u914d\u5217\u540d&#x5B;\u8981\u7d20\u6570]&#x5B;\u8981\u7d20\u6570]<\/pre>\n<p><strong>\u4f8b\uff1a<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">int arr&#x5B;3]&#x5B;2];<\/pre>\n<p><strong>\u4f8b\u6587\uff1a<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">#include &lt;stdio.h&gt;\r\n\r\n#define SUB 2\r\n#define NUM 3\r\n\r\nint main(void)\r\n{\r\n  int arr&#x5B;SUB]&#x5B;NUM];\r\n  int i;\r\n\r\n  arr&#x5B;0]&#x5B;0] = 20;\r\n  arr&#x5B;0]&#x5B;1] = 40;\r\n  arr&#x5B;0]&#x5B;2] = 70;\r\n  arr&#x5B;1]&#x5B;0] = 10;\r\n  arr&#x5B;1]&#x5B;1] = 30;\r\n  arr&#x5B;1]&#x5B;2] = 50;\r\n\r\n  for(i = 0; i &lt; NUM; i++)\u00a0{\r\n    printf(&quot;%d\u756a\u76ee\u306e\u4eba\u306e\u30c9\u30f3\u30ad\u30fc\u30b3\u30f3\u30b0\u306e\u30b9\u30b3\u30a2\u306f%d\u3067\u3059\u3002\u00a5n&quot;, i + 1, arr&#x5B;0]&#x5B;i]);\r\n    printf(&quot;%d\u756a\u76ee\u306e\u4eba\u306e\u30de\u30ea\u30aa\u306e\u30b9\u30b3\u30a2\u306f%d\u3067\u3059\u3002\u00a5n&quot;, i + 1, arr&#x5B;1]&#x5B;i]);\r\n  }\r\n  return 0;\r\n}<\/pre>\n<p><strong>\u7d50\u679c\uff1a<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/830847a87c8b6f37a3dfb565a30c4f0c.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-08-14 22.13.08\" width=\"314\" height=\"88\" class=\"alignnone size-full wp-image-7390\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/830847a87c8b6f37a3dfb565a30c4f0c.png 314w, https:\/\/www.webcyou.com\/wp-content\/uploads\/830847a87c8b6f37a3dfb565a30c4f0c-300x84.png 300w\" sizes=\"auto, (max-width: 314px) 100vw, 314px\" \/><\/p>\n<p>\u4ee5\u4e0b\u306e\u69d8\u306b\u521d\u671f\u5316\u3092\u884c\u3046\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">int arr&#x5B;2]&#x5B;3] = {\r\n  {20,40,70},{10,30,50}\r\n};<\/pre>\n<p>\u7701\u7565\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">int arr&#x5B;]&#x5B;3] = {\r\n  {20,40,70},{10,30,50}\r\n};<\/pre>\n<h4>\u6587\u5b57\u5217\u3068\u914d\u5217<\/h4>\n<p>C\u8a00\u8a9e\u3067\u306f\u300cchar\u578b\u306e\u914d\u5217\u300d\u3067\u6587\u5b57\u5217\u3092\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>&#8220;Hello&#8221;\u3068\u3044\u3046\u6587\u5b57\u5217\u306f\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">char str&#x5B;6];\r\n\r\nstr&#x5B;0] = \"H\";\r\nstr&#x5B;1] = \"e\";\r\nstr&#x5B;2] = \"l\";\r\nstr&#x5B;3] = \"l\";\r\nstr&#x5B;4] = \"o\";\r\nstr&#x5B;5] = \"\u00a50\";<\/pre>\n<p>\u3068\u3044\u3046\u914d\u5217\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u4ee3\u5165\u3057\u305f<strong>\u300c\u00a50\u300d\u306fNULL\u6587\u5b57\uff08NULL charactor\uff09<\/strong>\u3068\u3044\u308f\u308c\u3001\u6587\u5b57\u5217\u306e\u914d\u5217\u306e\u6700\u5f8c\u3092\u3042\u3089\u3057\u307e\u3059\u3002<\/p>\n<p>\u5fc5\u305a\u3001<strong>\u6700\u5f8c\u306b \u00a50\u304c\u4ee3\u5165<\/strong>\u3055\u308c\u307e\u3059\u3002<\/p>\n<h5>\u6587\u5b57\u5217\u306e\u521d\u671f\u5316<\/h5>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">char str&#x5B;6] = {'H','e','l','l','o', '\u00a50'};\r\nchar str&#x5B;] = {'H','e','l','l','o', '\u00a50'};\r\nchar str&#x5B;6] =\"Hello\";\r\nchar str&#x5B;] =\"Hello\";<\/pre>\n<p><strong>\u51fa\u529b\u4f8b\uff1a<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">#include &lt;stdio.h&gt;\r\n\r\nint main(void)\r\n{\r\n  char str&#x5B;] = {'H','e','l','l','o', '\u00a50'};\r\n  printf(&quot;%s\u306f\u3053\u3093\u306b\u3061\u306f\u3067\u3059\u3002\u00a5n&quot;, str);\r\n\r\n  return 0;\r\n}<\/pre>\n<p><strong>\u7d50\u679c\uff1a<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/1064f34fdab22ec9e428eda01c7fac06.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-08-14 22.36.25\" width=\"166\" height=\"14\" class=\"alignnone size-full wp-image-7391\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/1064f34fdab22ec9e428eda01c7fac06.png 166w, https:\/\/www.webcyou.com\/wp-content\/uploads\/1064f34fdab22ec9e428eda01c7fac06-150x14.png 150w\" sizes=\"auto, (max-width: 166px) 100vw, 166px\" \/><\/p>\n<h5>\u6587\u5b57\u5217\u3092\u5165\u529b<\/h5>\n<p><strong>\u4f8b\u6587\uff1a<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">#include &lt;stdio.h&gt;\r\n\r\nint main(void)\r\n{\r\n  char str&#x5B;100];\r\n\r\n  printf(&quot;\u6587\u5b57\u5217\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u00a5n&quot;);\r\n  scanf(&quot;%s&quot;, str);\r\n\r\n  printf(&quot;\u5165\u529b\u3057\u305f\u6587\u5b57\u5217\u306f%s\u3067\u3059\u3002\u00a5n&quot;, str);\r\n  return 0;\r\n}<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/5c10fcd601f49710a0896196c5cb8d83.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-08-14 22.39.43\" width=\"199\" height=\"44\" class=\"alignnone size-full wp-image-7392\" \/><\/p>\n<h5><strong>\u6587\u5b57\u5217\u3092\u64cd\u4f5c<\/strong><\/h5>\n<p>\u6587\u5b57\u5217\u306e\u914d\u5217\u306f\u00a50\u3067\u7d42\u308f\u308b\u306e\u304c\u57fa\u672c\u306a\u306e\u3067\u3001\u305d\u306e\u5224\u5b9a\u3092\u5165\u308c\u3066\u5236\u5fa1\u3092\u304a\u3053\u306a\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><strong>\u4f8b\u6587\uff1a<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">#include &lt;stdio.h&gt;\r\n\r\nint main(void)\r\n{\r\n  char str&#x5B;] = &quot;Hello&quot;;\r\n\r\n  int i;\r\n  printf(&quot;Hello\u00a5n&quot;);\r\n\r\n  for(i = 0; str&#x5B;i] != '\u00a50'; i++) {\r\n    printf(&quot;%c**&quot;, str&#x5B;i]);\r\n  }\r\n  printf(&quot;\u00a5n&quot;);\r\n\r\n  return 0;\r\n}<\/pre>\n<p>\u914d\u5217\u306e\u6700\u5f8c\u306b\u306a\u308b\u307e\u3067\u6587\u5b57\u9593\u306b\u300c**\u300d\u3092\u633f\u5165\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/86222f426f00df068444bfc512271eab.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-08-14 22.50.34\" width=\"122\" height=\"30\" class=\"alignnone size-full wp-image-7393\" \/><\/p>\n<p><strong>while\u6587\u3067\u3082\u540c\u69d8<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">while(str&#x5B;i]) {\r\n  ...\r\n}<\/pre>\n<p>\u00a50\u3067\u306a\u3044\u9650\u308a\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306fC\u8a00\u8a9e\u306e\u914d\u5217\u306b\u3064\u3044\u3066\u3001\u3064\u3089\u3064\u3089\u3068\u3002 \u914d\u5217 C\u8a00\u8a9e\u306e\u914d\u5217\u306f\u300c\u540c\u3058\u578b\u306e\u5024\u3092\u307e\u3068\u3081\u3066\u8a18\u61b6\u3059\u308b\u300d\u3068\u3044\u3046\u6a5f\u80fd\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002 \u914d\u5217\u306e\u5ba3\u8a00 \u69cb\u6587 \u578b\u540d \u914d\u5217\u540d&#x5B;\u8981\u7d20\u6570]; \u4f8b\uff1a int arr&#x5B;5]; \u5229\u7528 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[200],"tags":[171,59,40,166,37,169,95,39,178,138,78,114,118],"class_list":["post-7167","post","type-post","status-publish","format-standard","hentry","category-c-2","tag-android","tag-android-sdk","tag-ios-sdk","tag-iphone","tag-iphone-","tag-mac","tag-95","tag-39","tag-178","tag-138","tag-78","tag-114","tag-118"],"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/7167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7167"}],"version-history":[{"count":5,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/7167\/revisions"}],"predecessor-version":[{"id":7397,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/7167\/revisions\/7397"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}