結果
問題 |
No.537 ユーザーID
|
ユーザー |
![]() |
提出日時 | 2017-07-03 15:34:40 |
言語 | D (dmd 2.109.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 252 bytes |
コンパイル時間 | 736 ms |
コンパイル使用メモリ | 98,380 KB |
実行使用メモリ | 13,756 KB |
最終ジャッジ日時 | 2024-06-12 20:40:33 |
合計ジャッジ時間 | 4,517 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 WA * 9 TLE * 1 -- * 16 |
ソースコード
import std.stdio, std.string, std.conv, std.range, std.container, std.algorithm; void main(){ ulong n = readln.strip.to!ulong; auto ret = 0; foreach(i; iota(1, n+1)) if(n%i == 0) ret += 1; writeln(ret); }