回分類題庫
d243: 102OOP Lab Exercise: Function Template
出處:

Difficulity : N/A
Accepted : 57 Times | Submit :108 Times | Clicks : 859
Accepted : 51 Users | Submit : 52 Users | Accepted rate : 98%
Time Limit :10000 ms | Memory Limit : 64000 KBytes
題目加入時間 : 2013-12-04 19:51

Content :

Please implement function template for this case.

Input :

There are three type that you can input:

1.   integer

2.   float

3.  string

After you input the type name, you should input two numbers or words for your test.

Output :

You should print “Smaller:” after you input your tests.

And then output your result.

Sample Input :

float 1.11 1.1111
integer 1234 4321
string a b

Sample Output :

Smaller:1.11
Smaller:1234
Smaller:a

Hint :


  

Author :

(管理員:oopTA)

  Solve it!   Status Forum (0)

C++
C
JAVA
49780. oop101703042 (6 ms , 510KB)
49773. oop99703007 (6 ms , 520KB)
49565. oop101703019 (6 ms , 542KB)
49559. oop101703025 (6 ms , 520KB)
49555. oop101703026 (6 ms , 516KB)
56691. ag100 (2 ms , 270KB)
56675. nwgs524513cja (104 ms , 328KB)

執行時間會受很多因素影響因此僅供參考,主機等級請看這裡