結果
問題 |
No.3155 Same Birthday
|
ユーザー |
|
提出日時 | 2025-05-24 14:41:33 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 215 ms / 2,000 ms |
コード長 | 266 bytes |
コンパイル時間 | 2,093 ms |
コンパイル使用メモリ | 200,312 KB |
実行使用メモリ | 16,128 KB |
最終ジャッジ日時 | 2025-05-24 14:41:45 |
合計ジャッジ時間 | 9,869 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 49 |
ソースコード
#include <bits/stdc++.h> #define int long long using namespace std; signed main() { int n;cin>>n; set<pair<int,int>>ls; for(int i=0;i<n;i++){ int a,b;cin>>a>>b; ls.insert(make_pair(a,b)); } cout<<(ls.size()==n?"No":"Yes")<<endl; }