Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
3795 D班-罗炜翰 不高兴的津津 C++ 解答错误 0 0 MS 256 KB 286 2024-12-29 17:17:24

Tests(0/10):


#include<bits/stdc++.h> using namespace std; int main() { int n = 7,a,b,c = 0,d = 2100000000,e = 0,f; while (n) { cin>>a>>b; if (b + a > 8) { if (b + a < d + c) { c = a; d = b; f = e; } } n--; e++; } cout<<f + 1; return 0; }


测评信息: