Submission #132602

#TimeUsernameProblemLanguageResultExecution timeMemory
132602MoNsTeR_CuBeAncient Books (IOI17_books)C++17
0 / 100
2 ms376 KiB
#include <bits/stdc++.h> #include "books.h" using namespace std; long long minimum_walk(std::vector<int> p, int s) { int last = -1; for(int i = 0; i < (int)p.size(); i++){ if(p[i] != i) last = i; } return (last+1)*2; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...