結果
| 問題 | No.3155 Same Birthday |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-05-24 14:41:33 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 203 ms / 2,000 ms |
| + 127µs | |
| コード長 | 266 bytes |
| 記録 | |
| コンパイル時間 | 1,135 ms |
| コンパイル使用メモリ | 215,052 KB |
| 実行使用メモリ | 16,256 KB |
| 最終ジャッジ日時 | 2026-07-11 01:42:14 |
| 合計ジャッジ時間 | 7,338 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}