結果
問題 |
No.35 タイパー高橋
|
ユーザー |
![]() |
提出日時 | 2017-01-04 21:16:55 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 3 ms / 5,000 ms |
コード長 | 271 bytes |
コンパイル時間 | 3,024 ms |
コンパイル使用メモリ | 65,024 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-29 22:13:11 |
合計ジャッジ時間 | 3,520 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 18) Warning: imported and not used: 'sequtils' [UnusedImport]
ソースコード
import strutils, sequtils let N = stdin.readline.parseInt var all_type, can_type = 0 for _ in 0..<N: let t = stdin.readline.split (T, S) = (t[0].parseInt, t[1].len) all_type += S can_type += min(S, 12 * T div 1000) echo(can_type, ' ', all_type - can_type)