| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147778 | 谢绍澜 | 计算24点 | C++ | Wrong Answer | 1 MS | 272 KB | 485 | 2026-02-07 15:47:37 |
#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; return 0; }
------Input------
6 8 4 2
------Answer-----
0
------Your output-----