9 solutions

  • 1
    @ 2026-7-15 10:54:06

    #include<bits/stdc++.h>

    using namespace std;

    int main(){

    int n,m;
    
    cin>>n>>m;
    

    if(n<10&&m<10)cout<<1;

    else if(n==10)cout<<3;

    else cout<<4;

    return 0;}

Information

ID
207
Time
1000ms
Memory
256MiB
Difficulty
3
Tags
# Submissions
147
Accepted
27
Uploaded By