結果
問題 |
No.480 合計
|
ユーザー |
|
提出日時 | 2022-12-23 03:19:27 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 139 bytes |
コンパイル時間 | 3,224 ms |
コンパイル使用メモリ | 65,792 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-18 03:54:29 |
合計ジャッジ時間 | 3,942 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'sequtils' [UnusedImport] /home/judge/data/code/Main.nim(3, 8) Warning: imported and not used: 'strformat' [UnusedImport]
ソースコード
import sequtils import strutils import strformat var n = stdin.readLine.parseint var ans = 0 for value in 1..n: ans += value echo ans