求错误!第一测试点错了!
查看原帖
求错误!第一测试点错了!
1246661
feng_chenShy楼主2024/4/4 20:53

大佬帮忙看看哪里错了qwq

#include<bits/stdc++.h>
using namespace std;
long long N,M,p,q;
int main(){
	cin>>N>>M>>p>>q;
	if(p*M+q<=N*M) cout<<"Program ends with return value 0."<<endl;
	else cout<<"Segmentation fault."<<endl;
	return 0;
}
2024/4/4 20:53
加载中...