2023-05-14 14:39:42 +02:00
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
|
|
namespace {
|
|
|
|
|
|
2023-07-10 11:39:30 +02:00
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
long pow(long base, long exp) {
|
|
|
|
|
if (exp == 0)
|
|
|
|
|
return 1;
|
|
|
|
|
long half = pow(base, exp / 2);
|
|
|
|
|
if (exp % 2 == 0)
|
|
|
|
|
return half * half;
|
|
|
|
|
return half * half * base;
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 14:39:42 +02:00
|
|
|
|
void solve() {
|
|
|
|
|
// TODO
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
2023-07-10 09:53:39 +02:00
|
|
|
|
// for single test case, comment out for ‹N› test cases
|
|
|
|
|
#define SINGLE
|
|
|
|
|
|
|
|
|
|
#ifndef TEST
|
|
|
|
|
|
2023-05-14 14:39:42 +02:00
|
|
|
|
int main(void) {
|
2023-07-10 09:53:39 +02:00
|
|
|
|
|
|
|
|
|
#ifdef SINGLE
|
|
|
|
|
|
2023-05-14 14:39:42 +02:00
|
|
|
|
solve();
|
2023-07-10 09:53:39 +02:00
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
|
|
// for multiple test cases
|
|
|
|
|
int N;
|
|
|
|
|
std::cin >> N >> std::ws;
|
|
|
|
|
|
|
|
|
|
for (auto i = 0; i < N; ++i) {
|
|
|
|
|
solve();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
2023-05-14 14:39:42 +02:00
|
|
|
|
return 0;
|
|
|
|
|
}
|
2023-07-10 09:53:39 +02:00
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
|
|
#include "../.common/cpp/catch_amalgamated.hpp"
|
|
|
|
|
|
|
|
|
|
// TODO
|
|
|
|
|
|
|
|
|
|
#endif
|