結果
問題 | No.8041 なんとかのはなうらない |
ユーザー |
![]() |
提出日時 | 2019-04-01 21:27:48 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 470 bytes |
コンパイル時間 | 605 ms |
コンパイル使用メモリ | 80,860 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-26 11:05:22 |
合計ジャッジ時間 | 1,142 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 |
ソースコード
#include <iostream> #include <vector> #include <string> #include <stack> #include <map> #include <algorithm> #include <iomanip> #include <cmath> using namespace std; #define MAXV 1000000000 #define MOD 1000000007 using ll = long long; bool operator<(const pair<int, int>& a, const pair<int, int>& b) { if (a.first == b.first) { return a.second < b.second; } return a.first < b.first; } int main() { int N; cin >> N; cout << "Yes" << endl; int a; cin >> a; }