zawatins-library

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub zawa-tin/zawatins-library

:heavy_check_mark: test/EDPC-Z.test.cpp

Depends on

Code

#define PROBLEM "https://onlinejudge.u-aizu.ac.jp/courses/lesson/2/ITP1/1/ITP1_1_A"

#include "../src/dataStructure/monotone_CHT.hpp"

#include <iostream>

int main() {
	// std::cin.tie(nullptr);
	// std::ios::sync_with_stdio(false);
	// int N; std::cin >> N;
	// long long C; std::cin >> C;
	// zawa::monotone_CHT<long long, true> cht;
	// long long h1; std::cin >> h1;
	// cht.add(-2 * h1, h1 * h1);
	// long long ans;
	// for (int _ = 0 ; _ < N - 1 ; _++) {
	// 	long long h; std::cin >> h;
	// 	ans = cht.incremental_query(h) + C + h * h;
	// 	cht.add(-2 * h, ans + h * h);
	// }
	// std::cout << ans << '\n';
	std::cout << "Hello World" << std::endl;
}

/*
 * Educational DP Contest - Z Frog 3
 * https://atcoder.jp/contests/dp/submissions/39114088
 */
Back to top page