Submission #2201531


Source Code Expand

#include<iostream>
#include<algorithm>
#include<vector>
#include<cmath>
#include<string>
using namespace std;
int main(){
    int a,b;
    cin >> a >> b;
    if(a>b) cout << (a+1)*b << endl;
    else    cout << a * (b+1) << endl
}

Submission Info

Submission Time
Task A - ゲーム
User thash
Language C++14 (GCC 5.4.1)
Score 0
Code Size 241 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:12:1: error: expected ‘;’ before ‘}’ token
 }
 ^