| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1304477 | nguyenhuuhongquan | Rotating Lines (APIO25_rotate) | C++20 | 0 ms | 0 KiB |
#include <vector>
using namespace std;
#define int long long
const int LimN = 1e5 + 5;
void rotate(vector<int> t, int x);
int a[LimN];
void energy(int n, vector<int> v){
if (v[0] <= 12500) rotate({0}, 12500 - v[0]);
else rotate({0}, 50000 - (12500 - v[0]));
rotate({1}, 50000 - v[1]);
}
