結果

問題 No.2649 [Cherry 6th Tune C] Anthem Flower
ユーザー tailstails
提出日時 2024-02-23 22:36:59
言語 cLay
(20240104-1)
結果
AC  
実行時間 108 ms / 2,000 ms
コード長 138 bytes
コンパイル時間 3,179 ms
コンパイル使用メモリ 174,916 KB
実行使用メモリ 9,152 KB
最終ジャッジ日時 2024-02-23 22:37:09
合計ジャッジ時間 6,143 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
7,616 KB
testcase_01 AC 60 ms
9,152 KB
testcase_02 AC 59 ms
9,152 KB
testcase_03 AC 58 ms
9,152 KB
testcase_04 AC 59 ms
9,152 KB
testcase_05 AC 108 ms
9,152 KB
testcase_06 AC 108 ms
9,152 KB
testcase_07 AC 8 ms
7,872 KB
testcase_08 AC 8 ms
7,872 KB
testcase_09 AC 4 ms
7,616 KB
testcase_10 AC 3 ms
7,616 KB
testcase_11 AC 2 ms
7,616 KB
testcase_12 AC 2 ms
7,616 KB
testcase_13 AC 11 ms
8,000 KB
testcase_14 AC 11 ms
8,000 KB
testcase_15 AC 10 ms
8,000 KB
testcase_16 AC 11 ms
8,000 KB
testcase_17 AC 11 ms
7,908 KB
testcase_18 AC 11 ms
7,992 KB
testcase_19 AC 11 ms
8,128 KB
testcase_20 AC 11 ms
7,908 KB
testcase_21 AC 11 ms
7,968 KB
testcase_22 AC 10 ms
8,000 KB
testcase_23 AC 10 ms
7,908 KB
testcase_24 AC 10 ms
7,908 KB
testcase_25 AC 11 ms
7,908 KB
testcase_26 AC 11 ms
7,908 KB
testcase_27 AC 10 ms
7,908 KB
testcase_28 AC 11 ms
7,908 KB
testcase_29 AC 11 ms
7,908 KB
testcase_30 AC 11 ms
7,908 KB
testcase_31 AC 11 ms
7,908 KB
testcase_32 AC 10 ms
7,908 KB
testcase_33 AC 11 ms
7,908 KB
testcase_34 AC 45 ms
9,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@t;
rep(t){
	string@n;
	ll@m;
	ll a=0;
	for(char c:n){
		a=(a*10+(c-48))%(m*2);
	}
	a=a*(a+1)%(m*2);
	if(a&1){
		a+=m;
	}
	wt(a/2%m);
}
0