Wrong Answer
Code
#include<bits/stdc++.h>
#include<vector>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
long long int n;
cin>>n;
int rem=n%10;
if(rem==0 && n!=0)
cout<<1;
else if(n==0)
cout<<0;
else
cout<<10;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1012 Zéros de fin
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2023-12-10 16:47:02
- Judged At
- 2024-11-11 03:49:04
- Judged By
- Score
- 10
- Total Time
- 2ms
- Peak Memory
- 544.0 KiB