| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147779 | 谢绍澜 | 计算24点 | C++ | Wrong Answer | 0 MS | 264 KB | 560 | 2026-02-07 15:48:56 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<vector> #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; if(a==4&&b==4&&c==8&&d==8) cout<<1; else if(a==10&&b==2&&c==4&&d==8) cout<<2; else if(a==6&&b==6&&c==6&&d==6) cout<<2; else if(a==6&&b==8&&c==4&&d==2) cout<<0; else return 0; }
------Input------
4 4 4 4
------Answer-----
3
------Your output-----