# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
87294 | minhtri5302 | Preokret (COCI18_preokret) | C++14 | 3 ms | 632 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
//Trương Minh Trí
#include <bits/stdc++.h>
#define FOR(i, x, y) for(int i = x; i <= y; ++i)
#define FORN(i, x, y) for(int i = x; i >= y; --i)
#define Task "Preokret"
#define maxn 3000
#define maxm
#define emlacongchuacuaanh 1302
#define pii pair <int, int>
#define pll pair <long long, long long>
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define reset(x) memset(x, 0, sizeof(x));
using namespace std;
int n, m;
int res1, res2;
pii a[maxn], b[maxn];
int scoreA, scoreB;
int main()
{
ios_base::sync_with_stdio(0); cin.tie(NULL); cout.tie(NULL);
//freopen(Task".inp", "r", stdin);
//freopen(Task".out", "w", stdout);
cin >> n;
FOR(i, 1, n) cin >> a[i].F, a[i].S = 1;
cin >> m;
FOR(i, 1, m) cin >> b[i].F, b[i].S = 2;
FOR(i, 1, n) if(a[i].F <= 1440) res1++;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |