結果
問題 |
No.537 ユーザーID
|
ユーザー |
![]() |
提出日時 | 2018-06-13 07:42:19 |
言語 | Nim (2.2.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 200 bytes |
コンパイル時間 | 3,383 ms |
コンパイル使用メモリ | 68,736 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-30 14:02:50 |
合計ジャッジ時間 | 4,641 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 WA * 13 |
ソースコード
import strutils, tables, math let N = stdin.readLine.parseInt var i = 1 dic = initCountTable[int]() while i ^ 2 <= N: if N mod i == 0: dic.inc i dic.inc N div i i += 1 echo dic.len