1 solutions

  • 0
    @ 2024-10-17 16:04:22
    #include<bits/stdc++.h>
    using namespace std;
    #define int long long
    int n;
    int m;
    int a[2005];
    
    signed main(){
    	cin>>n>>m;
    	a[0]=2;
    	a[1]=7;
    	a[2]=2;
    	a[3]=3;
    	a[4]=3;
    	a[5]=4;
    	a[6]=2;
    	a[7]=5;
    	a[8]=1;
    	a[9]=2;
    	cout << a[n]*a[m];
    	return 0;
    }
    
    
    
    • 1

    Information

    ID
    6993
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    8
    Tags
    (None)
    # Submissions
    230
    Accepted
    43
    Uploaded By