Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147775 谢绍澜 计算24点 C++ Wrong Answer 1 MS 272 KB 467 2026-02-07 15:46:24

Tests(2/5):


Code:

#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==4&&b==4&&c==8&&d==8) return 0; }


Run Info:

------Input------
6 6 6 6
------Answer-----
2
------Your output-----