# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
821179 | 2023-08-11T07:57:44 Z | vjudge1 | Ancient Books (IOI17_books) | C++17 | 1 ms | 212 KB |
#include "books.h" #include <bits/stdc++.h> using namespace std; typedef long long ll; long long minimum_walk(vector<int> p, int s) { ll ans = 0, t = 0; int pos = p.size() - 1; for(; pos && p[pos] == pos; -- pos); return pos * 2; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 212 KB | Output is correct |
2 | Correct | 0 ms | 212 KB | Output is correct |
3 | Incorrect | 0 ms | 212 KB | 3rd lines differ - on the 1st token, expected: '8', found: '6' |
4 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 212 KB | Output is correct |
2 | Correct | 0 ms | 212 KB | Output is correct |
3 | Incorrect | 0 ms | 212 KB | 3rd lines differ - on the 1st token, expected: '8', found: '6' |
4 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 212 KB | Output is correct |
2 | Correct | 0 ms | 212 KB | Output is correct |
3 | Incorrect | 0 ms | 212 KB | 3rd lines differ - on the 1st token, expected: '8', found: '6' |
4 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | 3rd lines differ - on the 1st token, expected: '3304', found: '1998' |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 212 KB | Output is correct |
2 | Correct | 0 ms | 212 KB | Output is correct |
3 | Incorrect | 0 ms | 212 KB | 3rd lines differ - on the 1st token, expected: '8', found: '6' |
4 | Halted | 0 ms | 0 KB | - |