Submission #318450

# Submission time Handle Problem Language Result Execution time Memory
318450 2020-11-02T00:58:27 Z codemaster111 scanf 함수 2 (BSC_0_4) C++17
100 / 100
1 ms 492 KB
#include<bits/stdc++.h>
using namespace std;

int main() {
    int n;
    cin>>n;
    if (n<10) {
    	cout<<"00"<<n;
    } else if(n<100){
    	cout<<"0"<<n;
    } else {
    	cout<<100;
    }
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 364 KB Output is correct
2 Correct 1 ms 364 KB Output is correct
3 Correct 1 ms 492 KB Output is correct
4 Correct 0 ms 364 KB Output is correct
5 Correct 1 ms 364 KB Output is correct