# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
147505 | ipaljak | Titlovi (COCI19_titlovi) | C++14 | 2 ms | 384 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
#define TRACE(x) cerr << #x << " " << x << endl
#define FOR(i, a, b) for (int i = (a); i < int(b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define _ << " " <<
typedef long long llint;
const int MOD = 1e9 + 7;
struct SRT {
int block_id;
int t_start, t_end;
vector<string> text;
};
int n, dt;
vector<SRT> v;
ostream &operator<<(ostream &o, const SRT &srt) {
o << srt.block_id << endl;
int start = srt.t_start, end = srt.t_end;
int start_ms, start_s, start_m, start_h;
start_ms = start % 1000; start -= start_ms; start /= 1000;
start_s = start % 60; start -= start_s; start /= 60;
start_m = start % 60; start -= start_m; start /= 60;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |