<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC] ### 1.分類 ``` #include<stdio.h> #include<string.h> #include <ctype.h> #define N 250 int main() { int n,i; char str[N]; scanf("%d",&n); for(i=0;i<=n;i++) scanf("%c",&str[i]); char *p; p =str; while (*p != '\0') { if (isalpha(*p)) printf("%c", *p); p++; } p = str; printf("\n"); while (*p != '\0'){ if (isdigit(*p)) printf("%c", *p); p++; } } ``` ### 2.找出矩陣中的字符 ``` ``` ### 3.矩陣翻轉 ``` #include <stdio.h> #include <malloc.h> int main() { int m,n; int i,j; int ** p; while(1) { scanf("%d%d",&m,&n); p=(int**)malloc(m*sizeof(int*)); for(i=0;i<m;i++) { *(p+i)=(int*)malloc(n*sizeof(int)); for(j=0;j<n;j++) { scanf("%d",*(p+i)+j); } } for(j=0;j<n;j++) { for(i=0;i<m;i++) { printf("%d ",*(*(p+i)+j)); } printf("\n"); } } for(i=0;i<m;i++) free(*(p+i)); free(p); return 0; } ``` ### 4.求和 ``` #include <stdio.h> int main() { int i,n,j=0,b=0,sum = 0; char a[100]; scanf("%d",&n); scanf("%s",&a); for(i=0;i<n;i++) { if(a[i] >= '0' && a[i]<= '9') { b = 10 * b+a[i] - '0'; } else if(a[i]== '.') { sum += b; b = 0; } } printf("%d\n",sum + b); return 0; } ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看