結果

問題 No.964 2020
ユーザー hicus0542hicus0542
提出日時 2020-02-02 10:02:01
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,020 ms
コード長 301 bytes
コンパイル時間 183 ms
コンパイル使用メモリ 30,736 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-19 00:37:32
合計ジャッジ時間 917 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,348 KB
testcase_01 AC 2 ms
4,348 KB
testcase_02 AC 2 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 AC 2 ms
4,348 KB
testcase_05 AC 2 ms
4,348 KB
testcase_06 AC 2 ms
4,348 KB
testcase_07 AC 2 ms
4,348 KB
testcase_08 AC 1 ms
4,348 KB
testcase_09 AC 2 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>

int main(void){
    int N,i,j;
    
    scanf("%d",&N);
    for (i=1;i<=N;i++){
        for (j=N;j>=1;j--){
            if (N==10){
                printf("%d",j-1);
            }else{
                printf("%d",j);
            }
        }
    }
    return 0;    
}
0