結果

問題 No.372 It's automatic
ユーザー %20%20
提出日時 2018-01-10 18:52:33
言語 cLay
(20240104-1)
結果
AC  
実行時間 2,069 ms / 6,000 ms
コード長 144 bytes
コンパイル時間 2,720 ms
コンパイル使用メモリ 172,308 KB
実行使用メモリ 4,388 KB
最終ジャッジ日時 2023-09-18 23:51:41
合計ジャッジ時間 29,061 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,380 KB
testcase_01 AC 2 ms
4,380 KB
testcase_02 AC 2 ms
4,380 KB
testcase_03 AC 2 ms
4,384 KB
testcase_04 AC 2,046 ms
4,384 KB
testcase_05 AC 2,062 ms
4,380 KB
testcase_06 AC 2,049 ms
4,384 KB
testcase_07 AC 2,057 ms
4,380 KB
testcase_08 AC 2,063 ms
4,384 KB
testcase_09 AC 2,056 ms
4,380 KB
testcase_10 AC 2,054 ms
4,380 KB
testcase_11 AC 2,038 ms
4,380 KB
testcase_12 AC 2,064 ms
4,384 KB
testcase_13 AC 2,042 ms
4,380 KB
testcase_14 AC 2,058 ms
4,384 KB
testcase_15 AC 2,069 ms
4,380 KB
testcase_16 AC 2 ms
4,380 KB
testcase_17 AC 2 ms
4,380 KB
testcase_18 AC 2 ms
4,384 KB
testcase_19 AC 2 ms
4,380 KB
testcase_20 AC 2 ms
4,384 KB
testcase_21 AC 105 ms
4,388 KB
testcase_22 AC 105 ms
4,380 KB
testcase_23 AC 104 ms
4,384 KB
testcase_24 AC 104 ms
4,380 KB
testcase_25 AC 105 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

char S[2d4];mint d[3d4],e[3d4],z;ll M,i,c;{rd(S,M);for(;S[i];){c=S[i++]-48;e[((0..M)*10+c)%M]+=d[0..];(c?e[c%M]:z)+=1;d[0..M]=e[0..];}wt(*d+z);}
0