| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 83205 | 游四鑫 | 大力水手吃蔬菜 | C++ | Wrong Answer | 1 MS | 272 KB | 226 | 2024-07-14 10:00:49 |
#include<iostream> using namespace std; int main(){ int n,max=1,max2=1,a,b; cin>>n; for(int i=1;i<=n;i++){ cin>>a>>b; if(a>max)max=a; if(b>max2)max2=b; } cout<<max*max2; return 0; }
------Input------
27 1 1 1 86 1 35 61 71 19 29 1 61 77 29 1 73 83 41 47 81 27 20 1 9 33 76 44 41 65 91 57 43 41 81 65 65 46 10 76 1 45 36 9 11 57 9 25 58 15 13 43 35 65 9
------Answer-----
1006
------Your output-----
7553