a085: Multiplication 數數之積
標籤 :
通過比率 : 83% (5 人 / 6 人 ) (非即時)
評分方式 :
Tolerant

最近更新 : 2020-04-28 09:53

內容

Given a set of integer numbers, please compute the product of these numbers through multiplication operations.

給定若干整數,輸出其乘積。

輸入說明

Input at most nine lines of test datasets, and each line (or dataset) contains several integer numbers separated by a single white space.

輸入若干筆測資,最多有 9 筆,每一列有一筆測試資料。每筆測試資料包含若干個整數,整數間以空白隔開。

 

 

測資規範 :

  • Each dataset includes n integer numbers, 1 ≤ ≤ 12
  • Each integer number m in a dataset has the limit, 0 ≤ ≤ 40
  • 每筆測資包含n個整數,1 ≤ ≤ 12
  • 任一個整數m,0 ≤ ≤ 40
輸出說明

For each input line (or dataset), print the product value of those numbers involved. Please print a cartridge return at the end of each output line.

請針對每筆測資輸出其所有整數之乘積,最後必須有換行字元。

範例輸入
2 3 4 
1 2 2 4 0 7
範例輸出
24
0
測資資訊 :
記憶體限制 : 64 MB
隱藏 測資點#0 (100%): 1.0s , <1K
提示 :
標籤:
出處:
[編輯 :
shengZJ (shengZJ)
]


編號 身分 題目 主題 人氣 發表日期
沒有發現任何「解題報告」