結果
問題 |
No.537 ユーザーID
|
ユーザー |
|
提出日時 | 2017-07-02 09:13:21 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 331 bytes |
コンパイル時間 | 1,869 ms |
コンパイル使用メモリ | 74,128 KB |
実行使用メモリ | 56,124 KB |
最終ジャッジ日時 | 2024-10-05 07:12:13 |
合計ジャッジ時間 | 6,766 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 WA * 9 RE * 17 |
ソースコード
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner s = new Scanner(System.in); String str = s.next(); s.close(); long n = (long)Integer.parseInt(str); int count = 0; for(long i= 1;i<=n;i++){ if(n%i==0){ count++; } } System.out.println(count); } }