/ SeriousOJ /

Record Detail

Compile Error

foo.cc: In function 'int main()':
foo.cc:9:1: error: expected ',' or ';' before '}' token
    9 | }
      | ^

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)
}

Information

Submit By
Type
Pretest
Problem
P1121 Square Counting Challenge
Language
C++17 (G++ 13.2.0)
Submit At
2024-11-05 14:53:11
Judged At
2024-11-05 14:53:11
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes