Wrong Answer
Code
#include<bits/stdc++.h>
using namespace std;
int main()
{
int x; cin>>x;
x = x%10;
if(x==0) cout<<1<<endl;
else if(x==1 || x==3 || x==7 || x==9) cout<<10<<endl;
else if(x==2 || x==4 || x==6 || x==8) cout<<5<<endl;
else cout<<6<<endl;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1012 Zéros de fin
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2023-12-03 21:30:08
- Judged At
- 2024-11-11 03:49:32
- Judged By
- Score
- 50
- Total Time
- 2ms
- Peak Memory
- 532.0 KiB