結果
問題 | No.1233 割り切れない気持ち |
ユーザー | tails |
提出日時 | 2020-09-18 22:19:58 |
言語 | cLay (20240104-1) |
結果 |
WA
|
実行時間 | - |
コード長 | 278 bytes |
コンパイル時間 | 2,096 ms |
コンパイル使用メモリ | 159,944 KB |
実行使用メモリ | 8,256 KB |
最終ジャッジ日時 | 2023-09-19 01:21:34 |
合計ジャッジ時間 | 66,432 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 4 ms
6,956 KB |
testcase_01 | AC | 4 ms
6,932 KB |
testcase_02 | AC | 5 ms
6,988 KB |
testcase_03 | AC | 14 ms
7,236 KB |
testcase_04 | AC | 14 ms
6,932 KB |
testcase_05 | AC | 5 ms
6,928 KB |
testcase_06 | AC | 5 ms
6,976 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | AC | 2,011 ms
7,320 KB |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | AC | 2,009 ms
7,328 KB |
testcase_21 | AC | 2,017 ms
7,784 KB |
testcase_22 | AC | 2,021 ms
7,684 KB |
testcase_23 | AC | 2,019 ms
7,704 KB |
testcase_24 | AC | 2,014 ms
7,704 KB |
testcase_25 | AC | 2,016 ms
7,936 KB |
testcase_26 | WA | - |
testcase_27 | WA | - |
testcase_28 | WA | - |
testcase_29 | WA | - |
testcase_30 | WA | - |
testcase_31 | WA | - |
testcase_32 | WA | - |
testcase_33 | WA | - |
testcase_34 | WA | - |
testcase_35 | WA | - |
testcase_36 | WA | - |
testcase_37 | AC | 4 ms
6,996 KB |
testcase_38 | WA | - |
testcase_39 | WA | - |
testcase_40 | WA | - |
ソースコード
ll n,s,t,z,a[2d5],b[1d3],c[3d5]; { rd(n,a(n)); rep[a](x,n){ rep(k,2,1d3){ b[k]+=x%k; } c[x]+=1; s+=x; } c[1..2d5]+=c[0..]; rep[a](x,n){ if(x<1d3){ z+=b[x]; }else{ z+=s; t=2d5/x*x; while(t){ z-=x*(c[2d5]-c[t]); t-=x; } } } wt(z); }