Cコード10(ソート)

背景
投稿者投稿者アナゴいいね0お気に入り登録
プレイ回数273難易度(3.1) 366打
間違いあれば指摘お願いします。

関連タイピング

問題文

ふりがな非表示 ふりがな表示
(#include<stdio.h>) #include<stdio.h> (#define num 5) #define NUM 5 (int main(void)) int main(void) ({) { (int test[num];) int test[NUM]; (int tmp;) int tmp; (int i,j,s,t;) int i,j,s,t; (printf(”%dにんのてんすうをにゅうりょくしてください。¥n”,num);) printf("%d人の点数を入力してください。\n",NUM); (for(i=0;i<num;i++){) for(i=0;i<NUM;i++){ (scanf(”%d”,&test[i]);) scanf("%d",&test[i]);
(}) } (for(s=0;s<num-1;s++){) for(s=0;s<NUM-1;s++){ (for(t=s+1;t<num;t++){) for(t=s+1;t<NUM;t++){ (if(test[t]>test[s];) if(test[t]>test[s]; (tmp=test[t];) tmp=test[t]; (test[t]=test[s];) test[t]=test[s]; (test[s]=tmp;) test[s]=tmp; (}) } (}) } (}) }
など
(for(j=0;j<num;j++){) for(j=0;j<NUM;j++){ (printf(”%dばんめのひとのてんすうは%dです。¥n”,j+1,) printf("%d番目の人の点数は%dです。\n",j+1, (test[j]);) test[j]); (}) } (return 0;) return 0; (}) }
問題文を全て表示 一部のみ表示 誤字・脱字等の報告

アナゴのタイピング

オススメの新着タイピング

タイピング練習講座 ローマ字入力表 アプリケーションの使い方 よくある質問

人気ランキング

注目キーワード