제출 #581424

#제출 시각아이디문제언어결과실행 시간메모리
581424wdjpng철로 (IOI14_rail)C++17
8 / 100
72 ms468 KiB
#include "rail.h" #include <bits/stdc++.h> #define int long long #define rep(i,n) for(int i = 0; i < n; i++) #define all(a) a.begin(), a.end() using namespace std; void findLocation(signed n, signed first, signed location[], signed stype[]) { stype[0]=1; rep(i,n-1) stype[i+1]=2; location[0]=first; for(int i = 1; i < n; i++) location[i]=first+getDistance(0,i); return; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...