F.A.Qs Home ProblemSet Status Ranklist Contest LoginRegister
Notice:祝各位Oier新年快乐,Rp++!
大视野在线测评-欢迎您
[ New Thread ]
Problem 3917 >> 貌似许多标程都过不了这个数据
zzzong @ 2016-05-05 20:04:44
[ Quote ] [ Edit ] [ Delete ] 1#
21
0 1 2 3 4 5 6 7 8 9 0 1 2 3 1 1 1 1 1 9 0

答案应该是90,可许多程序都是10。。。
liuchenrui @ 2016-05-10 08:38:19
[ Quote ] [ Edit ] [ Delete ] 2#
谢谢提醒,已纠正
http://blog.csdn.net/lcrtest/article/details/51312981
Bill_Yang @ 2017-12-31 14:39:41
[ Quote ] [ Edit ] [ Delete ] 3#
许多标程也过不了这组数据
101
1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 9 2 1 2 3 4 5 6 7 8 9 3 1 2 3 4 5 6 7 8 9 4 1 2 3 4 5 6 7 8 9 5 1 2 3 4 5 6 7 8 9 6 1 2 3 4 5 6 7 8 9 7 1 2 3 4 5 6 7 8 9 8 1 2 3 4 5 6 7 8 9 9 1 2 3 4 5 6 7 8 9 1 0

答案应该是1,可很多程序都是101.。。

应该是这句话处理不当:
if(!x&&flag)x=10;
hautcds @ 2017-12-31 23:51:58
[ Quote ] [ Edit ] [ Delete ] 4#
@liuchenrui
hautcds @ 2017-12-31 23:57:11
[ Quote ] [ Edit ] [ Delete ] 5#
10
1 5 2 8 8 3 3 9 7 5


358919
[Top] [Previous Page] [Next Page]

HOME Back