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

×

this code runs successfully but at the time of sumbit it gives me NZEC error . can you help me to rid off from this

cook your code here

x, y = int(input()), int(input()) if(x % 5==0): print(y) y=y-x- 0.50 print("%.2f" %(y) ) else: print(y)

asked 17 Jan, 17:10

karan_thakare's gravatar image

0★karan_thakare
1
accept rate: 0%


x,y=map(int,input().split()) and run again.

link

answered 18 Jan, 08:48

yaminote's gravatar image

4★yaminote
1073
accept rate: 4%

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:

×518

question asked: 17 Jan, 17:10

question was seen: 66 times

last updated: 18 Jan, 08:48