B1046(15)

理解题意即可,无坑点

#include<iostream>
#include<string>
#include<cstdio>
using namespace std;
int main()
{
   int h1,h2,n,a1,a2,k1=0,k2=0;
   cin>>n;
   for (int i=0;i<n;i++)
   {
       cin>>h1>>a1>>h2>>a2;
       int sum=h1+h2;
       if (a1==sum&&a2!=sum)
       k2++;
       else if(a2==sum&&a1!=sum)
        k1++;
   }
   cout <<k1<<" "<<k2;
}
"02-26 05:15:44.994 1046 1562 1562 E QC2V4l2Driver: [heicE_0] queryControl: failed for control id 9909cf 02-26 05:15:44.994 1046 1562 1562 E StandardCaps: BitrateHelper: queryParamRanges failed 02-26 05:15:44.995 1046 1562 1562 I StandardCaps: BitrateHelper: min 0 max 20000000 step 1 default 20000000 02-26 05:15:44.995 1046 1562 1562 E QC2V4l2Driver: [heicE_0] queryControl: failed for control id 99202f 02-26 05:15:44.995 1046 1562 1562 E StandardCaps: ComplexityTuningHelper: queryParamRanges failed 02-26 05:15:44.995 1046 1562 1562 I StandardCaps: QualityTuningHelper: min 1 max 100 step 1 default 100 02-26 05:15:44.995 1046 1562 1562 E QC2V4l2Driver: [heicE_0] queryControl: failed for control id 980922 02-26 05:15:44.995 1046 1562 1562 E VendorCaps: RotationInputHelper: queryParamRanges failed 02-26 05:15:44.995 1046 1562 1562 I VendorCaps: RotationInputHelper: min 0 max 270 step 90 default 0 02-26 05:15:44.995 1046 1562 1562 E StandardCaps: RequestedPipelineDelayTuning - latency set 1 02-26 05:15:44.995 1046 1562 1562 E QC2V4l2Driver: [heicE_0] queryControl: failed for control id 9909e1 02-26 05:15:44.995 1046 1562 1562 E VendorCaps: VBVDelayHelper: queryParamRanges failed 02-26 05:15:44.995 1046 1562 1562 I VendorCaps: VBVDelayHelper: min 0 max 1000 step 500 default 0 02-26 05:15:44.995 1046 1562 1562 E QC2V4l2Driver: [heicE_0] queryControl: failed for control id 9909e8 02-26 05:15:44.995 1046 1562 1562 E VendorCaps: LTRCountHelper: queryParamRanges failed 02-26 05:15:44.995 1046 1562 1562 I VendorCaps: LTRCountHelper: min 0 max 3 step 1 default 0 02-26 05:15:44.995 1046 1562 1562 E QC2V4l2Driver: [heicE_0] queryControl: failed for control id 9909ea 02-26 05:15:44.995 1046 1562 1562 E VendorCaps: UseLTRRequestHelper: queryParamRanges failed 02-26 05:15:44.995 1046 1562 1562 I VendorCaps: UseLTRRequestHelper: min 0 max 0x7 step 0x1 default 0 02-26 05:15:44.995 1046 1562 1562 E QC2V4l2Driver: [heicE_0] queryControl: failed for control id 9909e9 02-26 05:15:44.995 1046 1562 1562 E VendorCaps: MarkLTRRequestHelper: queryParamRanges failed 02-26 05:15:44.995 1046 1562 1562 I VendorCaps: MarkLTRRequestHelper: min 0 max 2 step 1 default 0 02-26 05:15:44.995 1046 1562 1562 I VendorCaps: DownScalarSettingHelper: min [128 8192] max [128 8192] default [4294967295 4294967295] 02-26 05:15:44.996 1046 1562 1562 E QC2V4l2Driver: [heicE_0] queryControl: failed for control id 990a80 02-26 05:15:44.996 1046 1562 1562 E VendorCaps: ChromaQPOffsetHelper: queryParamRanges failed 02-26 05:15:44.996 1046 1562 1562 E QC2V4l2Caps: queryControl: unknown paramType 0x5200c02f 02-26 05:15:44.996 1046 1562 1562 E VendorCaps: DynamicFrameRateHelper: queryParamRanges failed"
09-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值