結果

問題 No.2270 T0空間
ユーザー tailstails
提出日時 2023-04-14 22:13:50
言語 cLay
(20240104-1)
結果
AC  
実行時間 139 ms / 2,000 ms
コード長 179 bytes
コンパイル時間 3,294 ms
コンパイル使用メモリ 175,496 KB
実行使用メモリ 24,064 KB
最終ジャッジ日時 2024-04-18 19:41:52
合計ジャッジ時間 5,038 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 1 ms
5,376 KB
testcase_03 AC 1 ms
5,376 KB
testcase_04 AC 1 ms
5,376 KB
testcase_05 AC 1 ms
5,376 KB
testcase_06 AC 1 ms
5,376 KB
testcase_07 AC 2 ms
5,376 KB
testcase_08 AC 1 ms
5,376 KB
testcase_09 AC 2 ms
5,376 KB
testcase_10 AC 2 ms
5,376 KB
testcase_11 AC 16 ms
8,320 KB
testcase_12 AC 9 ms
6,400 KB
testcase_13 AC 37 ms
11,776 KB
testcase_14 AC 38 ms
11,648 KB
testcase_15 AC 37 ms
11,648 KB
testcase_16 AC 67 ms
15,872 KB
testcase_17 AC 134 ms
24,064 KB
testcase_18 AC 125 ms
24,064 KB
testcase_19 AC 134 ms
24,064 KB
testcase_20 AC 139 ms
23,936 KB
testcase_21 AC 135 ms
24,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@n,@m;
string@s[m];
HashMap<ull,int>h;
h.init(n,0);
ull a=(ull)time(0)|1;
rep(x,n){
	ull v=0;
	rep(y,m){
		v=v*a+s[y][x];
	}
	if(h[v]++){
		wt("No");
		exit(0);
	}
}
wt("Yes");
0