90
894298983 611903325 32627815 576737738 376359239 717658338 447987424 142450651 961063003 29133283
<790 bytes omitted>
用户输出
ddd
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#48594 | #1141. ddd和鸵鸟 | Accepted | 100 | 50 ms | 636 K | C++ 17 (Clang) / 380 B | XYZ | 2021-05-15 19:41:37 |
#include <cstdio>
#define MAX_N 100000
int a[MAX_N];
using namespace std;
int main() {
int n;
scanf("%d", &n);
for (int i = 0; i < n; i++) {
scanf("%d", &a[i]);
}
int res = 0;
for (int i = 0; i < n; i++) {
res = (res + a[i]) % 2;
}
if (res == 1) {
printf("ddd");
} else {
printf("bqp");
}
return 0;
}
90
894298983 611903325 32627815 576737738 376359239 717658338 447987424 142450651 961063003 29133283
<790 bytes omitted>
用户输出
ddd
系统信息
Exited with return code 0
792
242419616 736736904 280752597 720697894 907464028 767234031 236672282 620977295 401908882 773303
<7739 bytes omitted>
用户输出
bqp
系统信息
Exited with return code 0
2697
674121170 485321695 597292434 354735201 216606957 497292624 917584767 283420302 699820332 61375
<26570 bytes omitted>
用户输出
bqp
系统信息
Exited with return code 0
6393
163261878 255525075 395380888 268407895 43269790 74979041 270924146 415611983 247837254 3203347
<63141 bytes omitted>
用户输出
ddd
系统信息
Exited with return code 0
12493
144043348 186536063 458481139 511430893 336883404 84031729 179787448 210283707 587464605 57837
<123431 bytes omitted>
用户输出
bqp
系统信息
Exited with return code 0
21593
90866264 589213945 618573101 293145932 481066112 166469921 385101598 230685928 714519439 95557
<213452 bytes omitted>
用户输出
ddd
系统信息
Exited with return code 0
34291
314877854 148374519 150793048 406975061 386854195 968911820 259919095 33784416 517920481 73227
<339078 bytes omitted>
用户输出
ddd
系统信息
Exited with return code 0
51198
401907392 173489132 796219199 489324331 942230313 176852443 100189554 854618801 874429386 2528
<506129 bytes omitted>
用户输出
ddd
系统信息
Exited with return code 0
72893
982910944 977380552 440650864 208655656 916598326 865060851 242519999 533273397 599566237 9621
<720719 bytes omitted>
用户输出
bqp
系统信息
Exited with return code 0