1268 - I2P_2017_EECS_Lab0 Scoreboard

Time

2017/09/20 09:20:00 2017/09/20 10:10:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
10000 hello world
11548 Money in Wallet

10000 - hello world   

Description

 print "hello world"

Input

(no input)

Output

 print out hello world on screen.

Sample Input  Download

Sample Output  Download

Tags

hi #include <stdio.h> #include<stdio.h> in hello world \n HAHA



Discuss




11548 - Money in Wallet   

Description

Sam is a handsome boy.

One day, he goes to zoo with his friends. Before going out, Sam's mother gives him pocket money.

She gives him some five dollar coins and ten dollar coins.

And at zoo, Sam spends a little money.

Please calculate the rest money Sam has after zoo.

 

Input

There are 3 inputs.

First two inputs are the numbers of five dollar coins and ten dollar coins he received from parents.

And the last input is the money he spent.

The number will be less than 2*1010 and bigger than or equal to 0.

 

Output

Print the rest of the money.

(Remember add \n at the end)

Sample Input  Download

Sample Output  Download

Tags




Discuss