90pts求条
查看原帖
90pts求条
819326
Birds_int_he_sky楼主2025/1/17 09:10

记录

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n,m,x,y;
    cin>>n>>m>>x>>y;
    if(x<n&&x>0&&y>0&&x*m+(y/m)*m+y%m<n*m)
        cout<<"Program ends with return value 0.";
    else
        cout<<"Segmentation fault.";
    return 0;
}
2025/1/17 09:10
加载中...