/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:47:16: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if (a[i]!=x&&a[i]!=y&&cnt<(n/2-1))
         ~~~~~~~^~~~~~~~~
/in/foo.cc:47:5: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if (a[i]!=x&&a[i]!=y&&cnt<(n/2-1))
     ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 204.0 KiB
#2 Wrong Answer 1ms 192.0 KiB
#3 Wrong Answer 1ms 188.0 KiB
#4 Wrong Answer 1ms 208.0 KiB
#5 Wrong Answer 1ms 184.0 KiB
#6 Wrong Answer 1ms 192.0 KiB
#7 Wrong Answer 2ms 204.0 KiB
#8 Wrong Answer 2ms 192.0 KiB
#9 Wrong Answer 2ms 188.0 KiB
#10 Wrong Answer 2ms 208.0 KiB

信息

递交者
类型
递交
题目
P1039 最小差距
语言
C++
递交时间
2018-11-15 10:41:08
评测时间
2018-11-15 10:41:08
评测机
分数
10
总耗时
21ms
峰值内存
208.0 KiB