結果

問題 No.1841 Long Long
ユーザー Yuzu Mashiro
提出日時 2024-06-25 20:44:21
言語 Swift
(6.0.3)
結果
AC  
実行時間 8 ms / 2,000 ms
コード長 299 bytes
コンパイル時間 1,359 ms
コンパイル使用メモリ 121,188 KB
実行使用メモリ 9,088 KB
最終ジャッジ日時 2024-06-25 20:44:31
合計ジャッジ時間 2,166 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

// #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