| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 3834 | 罗炜翰 | 不高兴的津津 | C++ | Wrong Answer | 0 | 1 MS | 256 KB | 293 | 2024-12-29 17:53:58 |
#include<bits/stdc++.h> using namespace std; int main() { int n = 7,a,b,c = 10,d = 10,e = 1,f = 0; for (int zz = 1;zz <= n;zz++) { cin>>a>>b; if (b + a > 8) { if (b + a < d + c) { c = a; d = b; f = e; } } e++; } cout<<f; return 0; }