結果
問題 | No.537 ユーザーID |
ユーザー |
![]() |
提出日時 | 2020-09-04 16:21:27 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 131 ms / 2,000 ms |
コード長 | 273 bytes |
コンパイル時間 | 608 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 11,648 KB |
最終ジャッジ日時 | 2024-11-26 01:35:48 |
合計ジャッジ時間 | 3,543 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 32 |
ソースコード
def calc(N):ans=[]for i in range(1,int(N**0.5)+1):if N%i==0:ans.append(str(i)+str(N//i))ans.append(str(N//i)+str(i))ans=set(ans)print(len(ans))def main():calc(int(input()))if __name__ == '__main__':main()