結果

問題 No.1219 Mancala Combo
ユーザー tailstails
提出日時 2020-09-04 21:47:52
言語 cLay
(20240104-1)
結果
AC  
実行時間 7 ms / 2,000 ms
コード長 114 bytes
コンパイル時間 1,702 ms
コンパイル使用メモリ 159,660 KB
実行使用メモリ 7,244 KB
最終ジャッジ日時 2023-09-19 01:06:52
合計ジャッジ時間 3,338 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,380 KB
testcase_01 AC 2 ms
5,388 KB
testcase_02 AC 2 ms
5,388 KB
testcase_03 AC 2 ms
5,448 KB
testcase_04 AC 2 ms
5,444 KB
testcase_05 AC 2 ms
5,388 KB
testcase_06 AC 2 ms
5,348 KB
testcase_07 AC 2 ms
5,348 KB
testcase_08 AC 2 ms
5,376 KB
testcase_09 AC 2 ms
5,524 KB
testcase_10 AC 2 ms
5,408 KB
testcase_11 AC 2 ms
5,452 KB
testcase_12 AC 2 ms
5,360 KB
testcase_13 AC 2 ms
5,480 KB
testcase_14 AC 2 ms
5,380 KB
testcase_15 AC 2 ms
5,352 KB
testcase_16 AC 2 ms
5,480 KB
testcase_17 AC 5 ms
6,628 KB
testcase_18 AC 6 ms
6,556 KB
testcase_19 AC 5 ms
6,376 KB
testcase_20 AC 6 ms
6,808 KB
testcase_21 AC 4 ms
6,352 KB
testcase_22 AC 5 ms
6,380 KB
testcase_23 AC 5 ms
6,928 KB
testcase_24 AC 5 ms
6,204 KB
testcase_25 AC 4 ms
6,428 KB
testcase_26 AC 5 ms
6,608 KB
testcase_27 AC 6 ms
7,228 KB
testcase_28 AC 7 ms
7,244 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll n,s,a[3d5];
{
	rd(n,a(n));
	rrep(i,n){
		s+=a[i];
		if(s%(i+1)){
			wt("No");
			exit(0);
		}
	}
	wt("Yes");
}
0