| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 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]);
}
