| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147780 | 谢绍澜 | 计算24点 | C++ | Accepted | 1 MS | 276 KB | 568 | 2026-02-07 15:49:23 |
#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 cout<<3; return 0; }