# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
50857 | Mamnoon_Siam | Roller Coaster Railroad (IOI16_railroad) | C++17 | 88 ms | 7548 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 "railroad.h"
long long plan_roller_coaster(std::vector<int> s, std::vector<int> t) {
int c = 0;
for(int i = 0; i < t.size(); i++) {
if(t[i] == 1) c++;
}
if(c > 1) return 0;
return 1;
}
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... |