結果
問題 |
No.2480 Sequence Sum
|
ユーザー |
![]() |
提出日時 | 2023-10-03 22:48:38 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 203 bytes |
コンパイル時間 | 470 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 17,572 KB |
最終ジャッジ日時 | 2024-07-26 14:13:48 |
合計ジャッジ時間 | 2,432 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | TLE * 1 -- * 12 |
ソースコード
N = int(input()) ##自然数N count = 1 ##Nの約数の数を数える変数 for i in range(int(N/2)): if N % (i+1) == 0: count += 1 print(N-count)##約数でない数を出力する