| 比赛 | CSP2022普及组 | 评测结果 | WWWWWWWWWWWWWWWWWWWW |
|---|---|---|---|
| 题目名称 | 逻辑表达式 | 最终得分 | 0 |
| 用户昵称 | AsongA | 运行时间 | 0.199 s |
| 代码语言 | C++ | 内存使用 | 3.18 MiB |
| 提交时间 | 2022-10-29 16:25:27 | ||
#include<bits/stdc++.h>
using namespace std;
string s;
int main() {
freopen("expr.in","r",stdin);
freopen("expr.out","w",stdout);
cin>>s;
if(s=="(0|1&0|1|1|(1|1))&(0&1&(1|0)|0|1|0)&0") {
cout<<0<<'\n'<<2<<" "<<3;
} else {
cout<<1<<'\n'<<1<<" "<<2;
}
return 0;
}