結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
rythem00359
|
| 提出日時 | 2020-09-04 14:21:22 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 219 bytes |
| コンパイル時間 | 201 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-25 09:55:44 |
| 合計ジャッジ時間 | 3,492 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 13 |
ソースコード
def calc(N):
ans=0
for i in range(1,int(N**0.5)+1):
if N%i==0:ans+=1
ans*=2
if int(N**0.5)==N**0.5:ans-=1
print(ans)
def main():
calc(int(input()))
if __name__ == '__main__':
main()
rythem00359