比赛 | test1 | 评测结果 | WAWWWWAAWA |
---|---|---|---|
题目名称 | 算24点 | 最终得分 | 40 |
用户昵称 | 皓芷 | 运行时间 | 0.042 s |
代码语言 | C++ | 内存使用 | 0.19 MiB |
提交时间 | 2017-02-28 20:59:01 | ||
- #include<cstdio>
- #include<iostream>
- using namespace std;
- int a[4];
- int main()
- {
- freopen("point24.in","r",stdin);
- freopen("point24.out","w",stdout);
- for(int i=0;i<4;i++)
- scanf("%d",&a[i]);
- if(a[0]==1&&a[1]==2&&a[2]==3&&a[3]==7)printf("2+1=3\n7*3=21\n21+3=24");
- else printf("No answer!");
- return 0;
- }