You are not logged in. Please login at www.codechef.com to post your questions!

×

DCODE - Editorial

PROBLEM LINK:

Practice

Contest

Author: Md Shahid

Tester: Arkapravo Ghosh

Editorialist: Md Shahid

DIFFICULTY:

CAKE-WALK

PROBLEM:

Given N.You need to print $YES$ if N is even else print $NO$.

EXPLANATION:

In this problem, Rahul is a math lover.He answers every question of his teacher in terms of numbers, If the answer given by Rahul is odd that is number answered by Rahul is odd print $"NO"$ if the number answered by Rahul is even print $"YES"$.

Input N
If N%2==0
  print YES
Else
  print NO

AUTHOR'S, TESTER'S AND EDITORIALIST'S SOLUTIONS:

Author's and editorialist’s solution can be found here. Tester's solution can be found here.

Tags:- ENCODING DCODE dshahid380

This question is marked "community wiki".

asked 09 Oct, 00:39

dshahid380's gravatar image

2★dshahid380
203
accept rate: 0%

edited 11 Oct, 17:16

admin's gravatar image

0★admin ♦♦
19.5k348496535

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×1,529

question asked: 09 Oct, 00:39

question was seen: 72 times

last updated: 11 Oct, 17:16