/ CWOI /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:8: warning: unused variable 'flag' [-Wunused-variable]
    int flag=0;
        ^~~~
/in/foo.cc:41:18: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if((a[l]<=a[r+1] || r+1>n) && (a[r]>=a[l-1] || l-1<1)) printf("yes\n%d %d\n",l,r);
                 ~^~
/in/foo.cc:41:86: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if((a[l]<=a[r+1] || r+1>n) && (a[r]>=a[l-1] || l-1<1)) printf("yes\n%d %d\n",l,r);
                                                                                      ^
# 状态 耗时 内存占用
#1 Accepted 2ms 376.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 2ms 364.0 KiB
#8 Wrong Answer 17ms 640.0 KiB
#9 Wrong Answer 13ms 736.0 KiB
#10 Wrong Answer 20ms 748.0 KiB

信息

递交者
类型
递交
题目
2017.07.11 P1 数字翻转
语言
C++
递交时间
2017-07-11 19:19:09
评测时间
2017-07-11 19:19:09
评测机
分数
140
总耗时
71ms
峰值内存
748.0 KiB