# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
96613 | FutymyClone | Titlovi (COCI19_titlovi) | C++14 | 2 ms | 376 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;
struct Box {
int id, hours, minutes, seconds, ms, houre, minutee, seconde, me;
vector <string> vec;
Box (int id = 0, int hours = 0, int minutes = 0, int seconds = 0, int ms = 0,
int houre = 0, int minutee = 0, int seconde = 0, int me = 0,
vector <string> vec = {}): id(id), hours(hours), minutes(minutes), seconds(seconds), ms(ms), houre(houre),
minutee(minutee), seconde(seconde), me(me), vec(vec) {}
};
int T;
bool canDo = true;
vector <Box> boxes;
void display (Box box) {
cout << box.id << "\n";
if (box.hours < 10) cout << "0"; cout << box.hours << ":";
if (box.minutes < 10) cout << "0"; cout << box.minutes << ":";
if (box.seconds < 10) cout << "0"; cout << box.seconds << ",";
if (box.ms < 10) cout << "00";
else if (box.ms < 100) cout << "0";
cout << box.ms;
cout << " --> ";
if (box.houre < 10) cout << "0"; cout << box.houre << ":";
if (box.minutee < 10) cout << "0"; cout << box.minutee << ":";
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |