結果
問題 |
No.537 ユーザーID
|
ユーザー |
|
提出日時 | 2017-07-02 09:09:28 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 323 bytes |
コンパイル時間 | 1,773 ms |
コンパイル使用メモリ | 75,016 KB |
実行使用メモリ | 55,744 KB |
最終ジャッジ日時 | 2024-10-05 07:11:30 |
合計ジャッジ時間 | 6,516 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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(); int n = Integer.parseInt(str); int count = 0; for(int i= 1;i<=n;i++){ if(n%i==0){ count++; } } System.out.println(count); } }