比赛 2025暑期集训第7场 评测结果 WAAWWAWWWW
题目名称 倒水 最终得分 30
用户昵称 20120223 运行时间 0.028 s
代码语言 C++ 内存使用 3.70 MiB
提交时间 2025-08-11 16:19:23
显示代码纯文本
#include<bits/stdc++.h>
using namespace std;
int main()
{
    freopen("pourwater.in","r",stdin);	
    freopen("pourwater.out","w",stdout);
    int A,B,C,X;
    cin>>A>>B>>C>>X;
    if(A==X)cout<<0;
    else if(B==X&&A>B)cout<<1;
    else if(C==X&&A>C)cout<<1; 
    else cout<<"false";
}