Submission #1160772

#TimeUsernameProblemLanguageResultExecution timeMemory
1160772SmuggingSpunRail (IOI14_rail)C++20
8 / 100
31 ms592 KiB
#include<bits/stdc++.h> #include "rail.h" using namespace std; void findLocation(int n, int first, int location[], int stype[]){ location[0] = first; stype[0] = 1; fill(stype + 1, stype + n, 2); for(int i = 1; i < n; i++){ location[i] = first + getDistance(0, i); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...