| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1304474 | 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(std::vector<int> t, int x);
int a[LimN];
void energy(int n, std::vector<int> v){
if (v[1] <= 12500) rotate({1}, 12500 - v[1]);
else rotate({1}, 50000 - (12500 - v[1]));
rotate({2}, 50000 - v[2]);
}
