結果

問題 No.249 N言っちゃダメゲーム (2)
コンテスト
ユーザー バカらっく
提出日時 2018-03-05 16:06:11
言語 Swift
(6.2.4)
コンパイル:
swiftc _filename_ -Ounchecked -o a.out
実行:
./a.out
結果
AC  
実行時間 6 ms / 1,000 ms
コード長 59 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 232 ms
コンパイル使用メモリ 123,804 KB
実行使用メモリ 9,856 KB
最終ジャッジ日時 2026-05-24 03:32:28
合計ジャッジ時間 925 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.swift:1:5: warning: immutable value 'i' was never used; consider replacing with '_' or removing it [#no-usage]
1 | for i in 0..<1000 {
  |     `- warning: immutable value 'i' was never used; consider replacing with '_' or removing it [#no-usage]
2 |     let inpt = readLine()
3 | }

Main.swift:2:9: warning: initialization of immutable value 'inpt' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
1 | for i in 0..<1000 {
2 |     let inpt = readLine()
  |         `- warning: initialization of immutable value 'inpt' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3 | }
4 | print(500)

ソースコード

diff #
raw source code

for i in 0..<1000 {
    let inpt = readLine()
}
print(500)
0