#include <stdio.h> #include <string.h> #include <stdlib.h> int max(int a, int b); int main() { int n; scanf("%d", &n); int i; //arr stores data ]; //path stores LIS result ]; //init memset(arr, 0x00, sizeof(arr)); memset(pa…
Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little about this game, so I introduce it to you now. The game can be played by two or more than two players. It consi…
Deep Q Learning 使用gym的CartPole作为环境,使用QDN解决离散动作空间的问题. 一.导入需要的包和定义超参数 import tensorflow as tf import numpy as np import gym import time import random from collections import deque ##################### hyper parameters #################### # Hyper Para…