# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
43592 | gnoor | Horses (IOI15_horses) | C++14 | 192 ms | 146384 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 "horses.h"
#include <algorithm>
#include <vector>
#include <cstdio>
using namespace std;
const int mod = 1000000007;
struct number {
long long val;
bool overflow;
number() {
val=0;
overflow=false;
}
number(long long _val) {
val=_val;
overflow=false;
}
number(long long _val,bool _of) {
val=_val;
overflow=_of;
}
bool operator< (const number &r) const {
if (overflow||r.overflow) {
return r.overflow;
}
return val<r.val;
Compilation message (stderr)
# | 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... |