A - ABCxxx
Time limit : 2sec / Memory limit : 256MB
Score : 100 points
Problem Statement
This contest, AtCoder Beginner Contest, is abbreviated as ABC.
When we refer to a specific round of ABC, a three-digit number is appended after ABC. For example, ABC680 is the 680th round of ABC.
What is the abbreviation for the N-th round of ABC? Write a program to output the answer.
Constraints
- 100≤N≤999
Input
Input is given from Standard Input in the following format:
N
Output
Print the abbreviation for the N-th round of ABC.
Sample Input 1
100
Sample Output 1
ABC100
The 100th round of ABC is ABC100.
Sample Input 2
425
Sample Output 2
ABC425
Sample Input 3
999
Sample Output 3
ABC999
为了练练python所以拿python写的
python:
print('ABC'+input())
C++:
#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
cout<<"ABC"<<n<<endl;
}
B - Break Number
Time limit : 2sec / Memory limit : 256MB
Score : 200 points
Problem Statement
Takahashi loves numbers divisible by 2.
You are given a positive integer N. Among the