Welcome![Sign In][Sign Up]
Location:
Downloads Documents
Title: acm Download
  • Category:
  • Document
  • Tags:
  • File Size:
  • 1kb
  • Update:
  • 2018-04-27
  • Downloads:
  • 0 Times
  • Uploaded by:
  • zilewwy
 Description: The input is a sequence of at most 2000 triplets of positive integers, delimited by a space character in between. Each line contains a single triplet. The sequence is followed by a triplet of zeros, 0 0 0, which indicated the end of the input and should not be treated as data to be processed. Input The integers of each input triplet are the integer m, the numerator a, and the denominator b described above, in this order. You may assume 4 < m <= 100000 and 1 <= a <= b <= 1000. Output The output is a sequence of pairs of positive integers. The i-th output pair corresponds to the i-th input triplet. The integers of each output pair are the width p and the height q described above, in this order.
 Downloaders recently: [More information of uploader zilewwy]
 To Search:
File list (Check if you may need any files):
FilenameSizeDate
搜索1001.cpp 1422 2018-04-26
搜索1002.cpp 1183 2018-04-26

CodeBus www.codebus.net