結果

問題 No.1415 100の倍数かつ正整数(1)
ユーザー MaboyMaboy
提出日時 2021-06-20 23:16:10
言語 Swift
(5.10.0)
結果
RE  
実行時間 -
コード長 109 bytes
コンパイル時間 435 ms
コンパイル使用メモリ 96,792 KB
実行使用メモリ 7,676 KB
最終ジャッジ日時 2023-09-05 01:45:06
合計ジャッジ時間 1,782 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
7,576 KB
testcase_01 AC 4 ms
7,280 KB
testcase_02 RE -
testcase_03 AC 4 ms
7,432 KB
testcase_04 RE -
testcase_05 AC 3 ms
7,548 KB
testcase_06 WA -
testcase_07 AC 3 ms
7,284 KB
testcase_08 AC 3 ms
7,592 KB
testcase_09 AC 3 ms
7,372 KB
testcase_10 AC 3 ms
7,380 KB
testcase_11 AC 3 ms
7,384 KB
testcase_12 AC 3 ms
7,544 KB
testcase_13 AC 3 ms
7,512 KB
testcase_14 AC 4 ms
7,420 KB
testcase_15 AC 4 ms
7,220 KB
testcase_16 AC 3 ms
7,328 KB
testcase_17 AC 4 ms
7,568 KB
testcase_18 AC 4 ms
7,328 KB
testcase_19 AC 4 ms
7,444 KB
testcase_20 AC 3 ms
7,520 KB
testcase_21 AC 3 ms
7,500 KB
testcase_22 AC 3 ms
7,480 KB
testcase_23 AC 4 ms
7,388 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

var n = readLine()!
var a = "0"
if n.first != "-"{
    n.removeLast()
    n.removeLast()
    a = n
}
print(a)
0