# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
45336 | 2018-04-13T01:13:11 Z | Mamnoon_Siam | Wiring (IOI17_wiring) | C++17 | 2 ms | 496 KB |
#include "wiring.h" long long min_total_length(std::vector<int> r, std::vector<int> b) { int ret = 0; for(int i=0; i<r.size(); i++) ret += b[0] - r[i]; for(int i=0; i<b.size(); i++) ret += b[i] - r.back(); return ret; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 376 KB | 3rd lines differ - on the 1st token, expected: '25859', found: '-31679' |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 496 KB | 3rd lines differ - on the 1st token, expected: '904', found: '949' |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 496 KB | 3rd lines differ - on the 1st token, expected: '316', found: '364' |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 496 KB | 3rd lines differ - on the 1st token, expected: '27', found: '-128' |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 376 KB | 3rd lines differ - on the 1st token, expected: '25859', found: '-31679' |
2 | Halted | 0 ms | 0 KB | - |