結果

問題 No.2270 T0空間
ユーザー tailstails
提出日時 2023-04-14 22:12:09
言語 cLay
(20240104-1)
結果
AC  
実行時間 169 ms / 2,000 ms
コード長 186 bytes
コンパイル時間 2,886 ms
コンパイル使用メモリ 179,232 KB
実行使用メモリ 24,064 KB
最終ジャッジ日時 2024-04-18 19:39:10
合計ジャッジ時間 5,304 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 2 ms
5,376 KB
testcase_03 AC 2 ms
5,376 KB
testcase_04 AC 2 ms
5,376 KB
testcase_05 AC 2 ms
5,376 KB
testcase_06 AC 1 ms
5,376 KB
testcase_07 AC 2 ms
5,376 KB
testcase_08 AC 2 ms
5,376 KB
testcase_09 AC 2 ms
5,376 KB
testcase_10 AC 2 ms
5,376 KB
testcase_11 AC 20 ms
8,320 KB
testcase_12 AC 10 ms
6,272 KB
testcase_13 AC 43 ms
11,648 KB
testcase_14 AC 47 ms
11,520 KB
testcase_15 AC 45 ms
11,648 KB
testcase_16 AC 83 ms
15,744 KB
testcase_17 AC 169 ms
24,064 KB
testcase_18 AC 151 ms
24,064 KB
testcase_19 AC 168 ms
23,936 KB
testcase_20 AC 166 ms
23,936 KB
testcase_21 AC 163 ms
24,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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