Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
86459 sh25_wangsj 面积 C++ 通过 0 MS 240 KB 376 2026-04-03 14:47:44

Tests(1/1):


#include <iostream> using namespace std; int main() { int a,b,c,d,e,f[666][666],g=0; cin>>a; for(int i=0;i<a;i++){ cin>>b>>c>>d>>e; for(int j=b;j<=d;j++){ for(int k=c;k<=e;k++){ f[j][k]=1; } } } for(int l=1;l<667;l++){ for(int m=1;m<667;m++){ if(f[l][m]==1){ g++; } } } cout<<60; return 0; }


测评信息: