結果

問題 No.2270 T0空間
ユーザー tailstails
提出日時 2023-04-14 22:04:50
言語 cLay
(20240104-1)
結果
AC  
実行時間 150 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 2,103 ms
コンパイル使用メモリ 180,540 KB
実行使用メモリ 25,420 KB
最終ジャッジ日時 2024-04-18 19:29:12
合計ジャッジ時間 4,870 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,812 KB
testcase_01 AC 2 ms
6,944 KB
testcase_02 AC 1 ms
6,940 KB
testcase_03 AC 1 ms
6,948 KB
testcase_04 AC 2 ms
6,940 KB
testcase_05 AC 2 ms
6,940 KB
testcase_06 AC 3 ms
6,944 KB
testcase_07 AC 2 ms
6,944 KB
testcase_08 AC 2 ms
6,944 KB
testcase_09 AC 2 ms
6,940 KB
testcase_10 AC 2 ms
6,940 KB
testcase_11 AC 22 ms
8,320 KB
testcase_12 AC 9 ms
7,748 KB
testcase_13 AC 39 ms
13,000 KB
testcase_14 AC 41 ms
11,648 KB
testcase_15 AC 40 ms
11,648 KB
testcase_16 AC 74 ms
17,096 KB
testcase_17 AC 150 ms
23,936 KB
testcase_18 AC 131 ms
23,936 KB
testcase_19 AC 149 ms
25,420 KB
testcase_20 AC 148 ms
25,032 KB
testcase_21 AC 150 ms
23,936 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@n,@m;
string@s[m];
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