結果
問題 |
No.2270 T0空間
|
ユーザー |
![]() |
提出日時 | 2023-05-29 22:45:43 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 960 ms / 2,000 ms |
コード長 | 354 bytes |
コンパイル時間 | 1,286 ms |
コンパイル使用メモリ | 96,360 KB |
実行使用メモリ | 36,224 KB |
最終ジャッジ日時 | 2024-12-28 10:36:16 |
合計ジャッジ時間 | 9,509 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <iostream> #include <set> #include <string> #include <vector> using namespace std; int main() { int N, M; cin >> N >> M; vector<string> S(N, string(M, '.')); for (int i = 0; i < M; ++i) { for (auto &s : S) cin >> s.at(i); } cout << (S.size() == set<string>{S.begin(), S.end()}.size() ? "Yes" : "No") << '\n'; }