# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1039817 | azberjibiou | Arranging Tickets (JOI17_arranging_tickets) | C++17 | 0 ms | 348 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
#define all(v) v.begin(), v.end()
#define pb push_back
#define lb lower_bound
#define gibon ios::sync_with_stdio(false); cin.tie(0);
#define fi first
#define se second
#define pii pair<int, int>
#define pll pair<ll, ll>
typedef long long ll;
using namespace std;
const int mxN=605;
const int mxM=1557;
const int mxK=60;
const ll MOD=1'000'000'007;
const ll inv2=500'000'004;
const ll INF=1e16;
int N, M;
int ans;
int cnt[mxN][mxN];
void input(){
cin >> N >> M;
for(int i=1;i<=M;i++){
int a, b, c;
cin >> a >> b >> c;
if(a>b) swap(a, b);
for(int j=1;j<=N;j++) for(int k=1;k<=N;k++){
int p1=(a<=j && j<b), p2=(a<=k && k<b);
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |