提问:如何debug
查看原帖
提问:如何debug
1243618
Jokersheng楼主2024/8/5 22:43
#include <bits/stdc++.h>
using namespace std;

int x,y,z,n,a,b,c,d,e,f,res;

int main(){
	cin>>x>>y>>z;
	res=x*y*z;
	cin>>n;
	while(n--){
		cin>>a>>b>>c>>d>>e>>f;
		res-=(d-a+1)*(e-b+1)*(f-c+1);
	}
	cout<<res;
	return 0;
}
2024/8/5 22:43
加载中...