# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
51284 | 2018-06-17T12:00:34 Z | Mamnoon_Siam | Roller Coaster Railroad (IOI16_railroad) | C++17 | 73 ms | 7572 KB |
#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] == 0) c++; } if(c > 1) return 0; return 1; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 3 ms | 504 KB | answer is not correct: 1 instead of 0 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 3 ms | 504 KB | answer is not correct: 1 instead of 0 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 73 ms | 7572 KB | answer is not correct: 1 instead of 0 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 3 ms | 504 KB | answer is not correct: 1 instead of 0 |
2 | Halted | 0 ms | 0 KB | - |