F.A.Qs Home ProblemSet Status Ranklist Contest LoginRegister
Notice:1:注册本OJ方式请见https://www.lydsy.com/JudgeOnline/wttl/thread.php?tid=5671 2:请不要在讨论区中发空白主题帖。
大视野在线测评-欢迎您
[ New Thread ]
Problem 1036 >> 给组小数据涨rp
cheer @ 2015-12-07 16:25:14
[ Quote ] [ Edit ] [ Delete ] 1#
WA了无数的请注意负数= =
input:
8
1 5
6 2
3 6
1 4
7 8
5 8
1 2
1 2 3 4 5 6 7 8
10
QSUM 1 5
QMAX 1 5
CHANGE 1 100
QMAX 7 8
QSUM 5 4
CHANGE 4 1
QSUM 4 8
QMAX 5 8
CHANGE 3 -50
QSUM 3 8

output:
6
5
8
109
114
8
71
cscscs @ 2016-02-17 16:11:00
[ Quote ] [ Edit ] [ Delete ] 2#
哇太谢谢了!
试了这组数据才知道哪错了!
xiaogang @ 2016-03-26 15:39:07
[ Quote ] [ Edit ] [ Delete ] 3#
...
moorhsum @ 2016-06-28 20:50:42
[ Quote ] [ Edit ] [ Delete ] 4#
谢谢!
负数颇坑……
151052 @ 2016-07-14 20:12:30
[ Quote ] [ Edit ] [ Delete ] 5#
谢谢啦,看了才发现剖分完忘记使用新的节点编号了^_^
Steve_Jobs @ 2016-08-03 20:18:48
[ Quote ] [ Edit ] [ Delete ] 6#
奇怪这个数据过了但是还是WA
Steve_Jobs @ 2016-08-03 20:47:13
[ Quote ] [ Edit ] [ Delete ] 7#
好吧求最大值的时候一开始一定要把那个值先置为很小的负数,不能置0.。。。忘了这点了。。。。
但是奇怪的是我在CodeVS上AC了在这里却RE了。。。。
QWsin @ 2016-09-29 07:21:47
[ Quote ] [ Edit ] [ Delete ] 8#
感谢qwq原来是修改的时候使用的是旧节点编号。
orzzs @ 2016-12-21 19:17:57
[ Quote ] [ Edit ] [ Delete ] 9#
业界良心>_<
Marco @ 2017-01-21 16:13:58
[ Quote ] [ Edit ] [ Delete ] 10#
+1 orz
CHN_JZ @ 2017-03-27 21:09:32
[ Quote ] [ Edit ] [ Delete ] 11#
+1 orz
angrypop @ 2017-05-10 21:05:03
[ Quote ] [ Edit ] [ Delete ] 12#
感谢!!这组数据太棒了
RP++
zq216991 @ 2017-08-20 14:10:14
[ Quote ] [ Edit ] [ Delete ] 13#
哇太谢谢了!
23333333333 @ 2017-09-03 13:00:51
[ Quote ] [ Edit ] [ Delete ] 14#
然而还是WA,哇。。。。。
zhaimingshuzms @ 2017-09-28 21:00:39
[ Quote ] [ Edit ] [ Delete ] 15#
感激不尽
spacevortex @ 2018-10-06 20:23:24
[ Quote ] [ Edit ] [ Delete ] 16#
感激!!!
[Top] [Previous Page] [Next Page]

HOME Back