結果

問題 No.687 E869120 and Constructing Array 1
ユーザー MaboyMaboy
提出日時 2021-06-16 19:48:28
言語 Swift
(5.10.0)
結果
AC  
実行時間 4 ms / 1,000 ms
コード長 66 bytes
コンパイル時間 2,885 ms
コンパイル使用メモリ 119,048 KB
実行使用メモリ 7,756 KB
最終ジャッジ日時 2023-08-30 01:13:50
合計ジャッジ時間 1,724 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
7,620 KB
testcase_01 AC 3 ms
7,596 KB
testcase_02 AC 3 ms
7,676 KB
testcase_03 AC 3 ms
7,752 KB
testcase_04 AC 3 ms
7,596 KB
testcase_05 AC 3 ms
7,680 KB
testcase_06 AC 3 ms
7,680 KB
testcase_07 AC 3 ms
7,756 KB
testcase_08 AC 3 ms
7,536 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

let N = Int(readLine()!)!
let a = N > 10 ? 10 : 1
print(a, N - a)
0