比赛 EYOI与SBOI开学欢乐赛4th 评测结果 AAAAAAAAAA
题目名称 全速疾走 最终得分 100
用户昵称 该账号已注销 运行时间 0.000 s
代码语言 C++ 内存使用 0.00 MiB
提交时间 2022-09-12 19:31:43
显示代码纯文本
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. long long a,b,ans;
  4. int main(){
  5. freopen("Gallop_at_full_speed.in","r",stdin);
  6. freopen("Gallop_at_full_speed.out","w",stdout);
  7. cin>>a>>b;
  8. if(a%2!=0)a--;
  9. if(b%2!=0)b--;
  10. ans=a*b;
  11. cout<<ans<<endl;
  12. return 0;
  13. }