結果
問題 |
No.853 河原の石
|
ユーザー |
![]() |
提出日時 | 2019-07-26 23:10:28 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 832 bytes |
コンパイル時間 | 2,215 ms |
コンパイル使用メモリ | 196,592 KB |
最終ジャッジ日時 | 2025-01-07 08:42:32 |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 57 |
ソースコード
#include<bits/stdc++.h> using namespace std; using Int = long long; template<typename T1,typename T2> inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template<typename T1,typename T2> inline void chmax(T1 &a,T2 b){if(a<b) a=b;} //INSERT ABOVE HERE signed main(){ Int h,w; cin>>h>>w; using P = pair<Int, Int>; vector<P> vs; vs.emplace_back(4,8); vs.emplace_back(5,8); vs.emplace_back(5,9); vs.emplace_back(6,8); vs.emplace_back(6,9); vs.emplace_back(6,10); vs.emplace_back(7,8); vs.emplace_back(7,9); vs.emplace_back(7,10); vs.emplace_back(8,8); vs.emplace_back(8,9); vs.emplace_back(8,10); vs.emplace_back(9,8); vs.emplace_back(9,9); vs.emplace_back(9,10); vs.emplace_back(10,8); vs.emplace_back(10,9); vs.emplace_back(10,10); assert(count(vs.begin(),vs.end(),P(h,w))==0); return 0; }