1 条题解

  • 0
    @ 2024-5-19 15:47:00

    #include <queue> #include <math.h> #include <stack> #include <stdio.h> #include <iostream> #include <vector> #include <iomanip> #include <string.h> #include <algorithm> using namespace std; int main() { int a,b,y,m=0,ans=0; for(int i=1;i<=7;i++) { cin >>a>> b; y=a+b; if((y>m)&&(y>8))m=y,ans=i; } cout << ans; return 0; }

    • 1

    信息

    ID
    2760
    时间
    1000ms
    内存
    256MiB
    难度
    10
    标签
    递交数
    1
    已通过
    0
    上传者