Submission #920928

#TimeUsernameProblemLanguageResultExecution timeMemory
920928salmonAncient Books (IOI17_books)C++14
0 / 100
1 ms348 KiB
#include "books.h" #include <bits/stdc++.h> using namespace std; long long minimum_walk(vector<int> p, int s) { long long sum = 0; int N = p.size(); for(int i = 0; i < N; i++){ sum += abs(p[i] - i); } return sum + 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...