結果
| 問題 | No.395 永遠の17歳 |
| コンテスト | |
| ユーザー |
n_knuu
|
| 提出日時 | 2017-01-06 07:30:28 |
| 言語 | Nim (2.2.8) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| + 318µs | |
| コード長 | 111 bytes |
| 記録 | |
| コンパイル時間 | 2,187 ms |
| コンパイル使用メモリ | 67,624 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-02 00:32:59 |
| 合計ジャッジ時間 | 3,675 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 34) Warning: imported and not used: 'algorithm' [UnusedImport] /home/judge/data/code/Main.nim(1, 18) Warning: imported and not used: 'sequtils' [UnusedImport]
ソースコード
import strutils, sequtils, math, algorithm let A = stdin.readline.parseInt echo(if A - 7 <= 7: -1 else: A - 7)
n_knuu