The input consists of a series of lines with each line containing 9 integers. The first three integers on a line represent the number of brown, green, and clear bottles (respectively) in bin number 1, the second three represent the number of brown, green and clear bottles (respectively) in bin number 2, and the last three integers represent the number of brown, green, and clear bottles (respectively) in bin number 3. For example, the line 10 15 20 30 12 8 15 8 31
indicates that there are 20 clear bottles in bin 1, 12 green bottles in bin 2, and 15 brown bottles in bin 3.
Integers on a line will be separated by one or more spaces. Your program should process all lines in the input file.
The input consists of a series of lines with each line containing 9 integers. The first three integers on a line represent the number of brown, green, and clear bottles (respectively) in bin number 1, the second three represent the number of brown, green and clear bottles (respectively) in bin number 2, and the last three integers represent the number of brown, green, and clear bottles (respectively) in bin number 3. For example, the line 10 15 20 30 12 8 15 8 31indicates that there are 20 clear bottles in bin 1, 12 green bottles in bin 2, and 15 brown bottles in bin 3.Integers on a line will be separated by one or more spaces. Your program should process all lines in the input file.
การแปล กรุณารอสักครู่..

การป้อนข้อมูลประกอบด้วยชุดของเส้นที่มีแต่ละบรรทัดมี 9 จำนวนเต็ม สามจำนวนเต็มแรกบนเส้นแทนจำนวนสีน้ำตาล, สีเขียว, สีและขวดใส (ตามลำดับ) ในถังหมายเลข 1 ที่สองสามแทนจำนวนสีน้ำตาล, สีเขียวและชัดเจนขวด (ตามลำดับ) ในจำนวนถังที่ 2 และที่ผ่านมา สามจำนวนเต็มแทนจำนวนสีน้ำตาล, สีเขียว, และชัดเจนขวด (ตามลำดับ) ในจำนวนถัง 3. ตัวอย่างเช่นสาย 10 15 20 30 12 8 15 8 31 แสดงให้เห็นว่ามี 20 ขวดที่ชัดเจนในถังที่ 1, 12 ขวดสีเขียวใน ถัง 2 และ 15 ขวดน้ำตาลในถัง 3. จำนวนเต็มบนเส้นจะถูกแยกจากกันโดยหนึ่งหรือมากกว่าหนึ่งช่องว่าง โปรแกรมของคุณควรจะดำเนินการทุกบรรทัดในแฟ้มใส่
การแปล กรุณารอสักครู่..

ข้อมูล ประกอบด้วยชุดของเส้นแต่ละเส้นมี 9 จำนวนเต็ม . สามตัวแรกจำนวนเต็มบนบรรทัดแสดงหมายเลขของสีน้ำตาล , สีเขียว , และขวดใส ( ตามลำดับ ) ในช่องหมายเลข 1 , 3 ที่สองเป็นตัวแทนของจำนวนน้ำตาล ขวดสีเขียวใส ( ตามลำดับ ) ในช่องหมายเลข 2 และสุดท้ายสามจำนวนเต็มแสดงหมายเลขของสีน้ำตาล , สีเขียว , และขวดใส ( ตามลำดับ ) ในช่องหมายเลข 3 ตัวอย่างเช่น สาย 10 15 20 30 12 8 15 8 31พบว่ามี 20 ล้างขวดในถัง 1 , 12 ขวดสีเขียวบิน 2 และ 15 สีน้ำตาลขวดในถัง 3จำนวนเต็มในบรรทัดจะถูกแยกจากกันโดยหนึ่งหรือมากกว่าหนึ่งคัน โปรแกรมของคุณควรจะกระบวนการบรรทัดในแฟ้มการป้อนข้อมูล
การแปล กรุณารอสักครู่..
