제출 #1079038

#제출 시각아이디문제언어결과실행 시간메모리
1079038aboutonTiles (BOI24_tiles)C++17
4 / 100
1 ms600 KiB
#include <bits/stdc++.h> using namespace std; int N, M; vector<int> x; vector<int> y; int main() { ios_base::sync_with_stdio(false); cin >> N >> M; for (int i = 0; i < 4; i ++) { int X,Y; cin >> X >> Y; x.push_back(X); y.push_back(Y); } sort(y.begin(), y.end()); if ((y[3]-y[0])%2) { cout << 0; return 0; } cout << (M/2)*2; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...