/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 2ms 320.0 KiB

Code

#include<bits/stdc++.h>
using namespace std;

int main(){
	int a,b;
	cin>>a>>b;
	
	int tot = a*b+(a+b)+min(a,b);
	cout<<tot;
}

Information

Submit By
Type
Pretest
Problem
P1121 Square Counting Challenge
Language
C++17 (G++ 13.2.0)
Submit At
2024-11-05 15:02:24
Judged At
2024-11-11 02:31:45
Judged By
Score
10
Total Time
2ms
Peak Memory
320.0 KiB