
NOIP'
_L_Y_T
さあ、お前の罪を数えろ!
展开
-
NOIP2018TGDay1T1铺设道路
挖坑和盖楼能一样么?! ----题记题目链接code :#include <iostream>#include <stdio.h>#include <string.h>#include <algorithm>#define maxn 100010using namespace std ;int ans , a[maxn] , n...原创 2018-12-11 19:46:04 · 301 阅读 · 0 评论 -
洛谷P2312 解方程
题目描述已知多项式方程:a0+a1x+a2x2+⋯+anxn=0a_0+a_1x+a_2x^2+\cdots+a_nx^n=0a0+a1x+a2x2+⋯+anxn=0 求这个方程在 [1,m][1,m][1,m] 内的整数解(nnn 和 mmm 均为正整数)。输入输出格式输入格式:输入共 n+2n + 2n+2 行。 第一行包含 222 个整数 n,mn, mn,m ,每两...原创 2019-05-23 20:32:59 · 399 阅读 · 0 评论