Logo
(追記) (追記ここまで)

26583번 - Scale 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 1024 MB47929724261.578%

문제

Write a program that takes in a list of integers and produces a new list of scaled integer values. The value of each will be the original value multiplied by its neighbors.

입력

There will be an unknown number of inputs each on its own line. Each input will contain an unknown number of values separated by spaces.

출력

Display the result of each input on its own line, with each value separated by a single space.

제한

예제 입력 1

1 1 1 1 1
2 3 1 4 5 3
7 4 18 5 2 6

예제 출력 1

1 1 1 1 1
6 6 12 20 60 15
28 504 360 180 60 12

힌트

출처

School > PLU High School Programming Contest > PLU 2020 > Advanced 1번

(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /