結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-09-25 18:53:24 |
| 言語 | Nim (2.2.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 197 bytes |
| コンパイル時間 | 4,014 ms |
| コンパイル使用メモリ | 65,500 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-22 12:20:11 |
| 合計ジャッジ時間 | 5,231 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 13 |
ソースコード
import math, strutils
let n: int = stdin.readline.parseInt
var ans: int = 0
for i in 1..sqrt(n.float).int:
if n mod i == 0:
if i == (n div i):
ans.inc
else:
ans.inc 2
echo ans