結果

問題 No.964 2020
ユーザー mermer
提出日時 2020-02-11 19:03:03
言語 Go
(1.22.1)
結果
AC  
実行時間 2 ms / 2,020 ms
コード長 318 bytes
コンパイル時間 10,888 ms
コンパイル使用メモリ 229,204 KB
実行使用メモリ 6,548 KB
最終ジャッジ日時 2024-04-08 15:45:33
合計ジャッジ時間 11,594 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

package main

import (
    "fmt"
)
func main() {
    var f int
    fmt.Scan(&f)
    //数字をN回出力
    for r:=1;r<=f;r++ {
        //N個の数を使った数字の生成
        for i:=1;i<=f;i++ {
        if i == 10{
            fmt.Print(0)
        }else{
            fmt.Print(i)
        }
        }
    }
}
0