数据问题?

P4702 取石子

https://www.luogu.org/record/show?rid=9890055 没问题啊,不然这份代码怎么 A 的
by Anguei @ 2018-08-18 21:55:07


是没问题,看你的编译信息应该是sum没有初始化
by AThousandSuns @ 2018-08-18 21:56:01


洛谷的官方号都A了
by 捻红尘似水 @ 2018-08-18 21:56:42


数据肯定没问题啊
by LCuter @ 2018-08-18 21:58:06


@[呵呵侠](/space/show?uid=55805) 我的题解sum没初始化,qaq
by LCuter @ 2018-08-18 22:00:18


@[AThousandSuns](/space/show?uid=72118) 那可能是我太菜了QAQ谢谢
by Bay_Max @ 2018-08-18 22:03:15


@[常暗踏阴](/space/show?uid=83547) QWQ谢谢帮忙
by Bay_Max @ 2018-08-18 22:03:36


@[yyfcpp](/space/show?uid=53062) QWQ谢谢dalao
by Bay_Max @ 2018-08-18 22:03:50


@[yyfcpp](/space/show?uid=53062) 但你看你看QAQ ```cpp #include<iostream> #include<cstdio> #include<cmath> #define ll long long using namespace std; ll n,sum,x; int main() { ios::sync_with_stdio(0); cin>>n; while(n--) { cin>>x; sum+=x; } if(sum&1) cout<<"Alice"; else cout<<"Bob"; return 0; } ``` WA了QWQ而且第一个点我下载下来,只有一个数11
by Bay_Max @ 2018-08-18 22:10:04


@[呵呵侠](/space/show?uid=55805) 欸好像真有问题 之前我的 AC 代码过不了了
by Anguei @ 2018-08-18 22:23:51


| 下一页