黑盒测试
系统会判断每组数据的输出结果是否正确。
单点测试只需要按正常的逻辑执行一遍程序即可。
多点测试:
while...EOF型
while...(T--)型
在多点测试中,每次循环都要重置一下变量和数组,否则在下一次数据来临时变量和数组就不是初始状态了。
重置数组一般使用memset函数或者fill函数