제출 #421227

#제출 시각아이디문제언어결과실행 시간메모리
421227Ozy철로 (IOI14_rail)C++17
8 / 100
89 ms500 KiB
#include "rail.h" #include <bits/stdc++.h> using namespace std; #define rep(i,a,b) for (int i = (a); i <= (b); i++) #define repa(i,a,b) for (int i = (a); i >= (b); i--) #define lli long long int #define debugsl(a) cout << #a << " = " << a << ", " #define debug(a) cout << #a << " = " << a << endl void findLocation(int N, int first, int location[], int stype[]) { lli a; location[0] = first; stype[0] = 1; rep(i,1,N-1) { a = getDistance(0,i); location[i] = first + a; stype[i] = 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...