結果
問題 | No.888 約数の総和 |
ユーザー | watarimaycry2 |
提出日時 | 2019-09-20 22:27:39 |
言語 | Java19 (openjdk 21) |
結果 |
TLE
|
実行時間 | - |
コード長 | 459 bytes |
コンパイル時間 | 1,908 ms |
コンパイル使用メモリ | 72,076 KB |
実行使用メモリ | 56,356 KB |
最終ジャッジ日時 | 2023-10-12 19:57:37 |
合計ジャッジ時間 | 8,910 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge15 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 120 ms
56,020 KB |
testcase_01 | AC | 120 ms
55,424 KB |
testcase_02 | AC | 128 ms
56,216 KB |
testcase_03 | AC | 123 ms
55,896 KB |
testcase_04 | AC | 121 ms
56,056 KB |
testcase_05 | AC | 121 ms
55,916 KB |
testcase_06 | AC | 120 ms
55,644 KB |
testcase_07 | AC | 120 ms
55,480 KB |
testcase_08 | AC | 121 ms
55,716 KB |
testcase_09 | AC | 130 ms
55,880 KB |
testcase_10 | AC | 130 ms
56,048 KB |
testcase_11 | AC | 132 ms
55,852 KB |
testcase_12 | AC | 132 ms
55,720 KB |
testcase_13 | AC | 133 ms
55,864 KB |
testcase_14 | AC | 137 ms
55,820 KB |
testcase_15 | AC | 133 ms
56,356 KB |
testcase_16 | AC | 142 ms
55,756 KB |
testcase_17 | AC | 143 ms
55,864 KB |
testcase_18 | TLE | - |
testcase_19 | -- | - |
testcase_20 | -- | - |
testcase_21 | -- | - |
testcase_22 | -- | - |
testcase_23 | -- | - |
testcase_24 | -- | - |
testcase_25 | -- | - |
testcase_26 | -- | - |
testcase_27 | -- | - |
testcase_28 | -- | - |
testcase_29 | -- | - |
testcase_30 | -- | - |
testcase_31 | -- | - |
testcase_32 | -- | - |
ソースコード
import java.util.*; public class Main { public static void myout(Object text){//standard output System.out.println(text); } public static void main(String[] args){ Scanner sc = new Scanner(System.in); //String tmp = sc.next(); //int tmp = sc.nextInt(); //Long tmp = sc.nextLong(); Long n = sc.nextLong(); Long output = new Long(0); for(int i = 1; i <= n; i++){ if(n % i == 0){ output += i; } } myout(output); } }