結果

問題 No.1841 Long Long
コンテスト
ユーザー Yuzu Mashiro
提出日時 2024-06-25 20:44:21
言語 Swift
(6.2.4)
コンパイル:
swiftc _filename_ -Ounchecked -o a.out
実行:
./a.out
結果
AC  
実行時間 3 ms / 2,000 ms
+ 924µs
コード長 299 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,233 ms
コンパイル使用メモリ 129,924 KB
実行使用メモリ 9,600 KB
最終ジャッジ日時 2026-07-30 01:58:40
合計ジャッジ時間 2,502 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

// #region
enum Input {
  static func int() -> Int {
    return Int(readLine()!)!
  }
}

extension String {
  func times(_ count: Int) -> String {
    String(repeating: self, count: count)
  }

  func print() {
    Swift.print(self)
  }

}
// #endregion

let n = Input.int()
"Long".times(n).print()
0