回分類題庫
d229: 101OOP Lab Exercise: Function Template
出處:

Difficulity : N/A
Accepted : 54 Times | Submit :104 Times | Clicks : 1093
Accepted : 52 Users | Submit : 52 Users | Accepted rate : 100%
Time Limit :10000 ms | Memory Limit : 64000 KBytes
題目加入時間 : 2012-12-03 16:30

Content :

Please implement function template for this case.

Input :

There are three type that you can input:

1.   integer

2.   float

3.   char

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

Output :

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

And then ouput your result.

Sample Input :

float 1.11 1.1111
integer 1234 4321
char a b

Sample Output :

Smaller:1.11
Smaller:1234
Smaller:a

Hint :


  

Author :

(管理員:oop10105)

  Solve it!   Status Forum (0)

C++
C
JAVA
46764. sy2es956304 (6 ms , 514KB)
42484. oop98703053 (6 ms , 512KB)
42471. oop100703023 (6 ms , 520KB)
42436. oop100701020 (6 ms , 506KB)
49520. CC501 (8 ms , 272KB)
56690. ag100 (2 ms , 260KB)
78093. bello6110 (8 ms , 260KB)
56653. nwgs524513cja (122 ms , 328KB)

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