/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 2ms 332.0 KiB
#2 Accepted 2ms 324.0 KiB
#3 Wrong Answer 2ms 544.0 KiB

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