[問題] ACM11192
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
Code::Blocks
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
問題(Question):
ACM11192
http://ppt.cc/SAkm
餵入的資料(Input):
如題目
預期的正確結果(Expected Output):
如題目
錯誤結果(Wrong Output):
WA
程式碼(Code):(請善用置底文網頁, 記得排版)
http://codepad.org/V7D3fsH9
補充說明(Supplement):
是打算分段旋轉同時輸出
然後發現當輸入1時會先換行再輸出旋轉結果,是轉到了\n
所以再針對輸入1時做處理,SAMPLE的測資都對,不知道是哪裡出了甚麼問題
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.123.220.62
※ 文章網址: http://www.ptt.cc/bbs/C_and_CPP/M.1417700424.A.CB0.html
→
12/05 01:13, , 1F
12/05 01:13, 1F
→
12/05 23:55, , 2F
12/05 23:55, 2F
→
12/06 00:02, , 3F
12/06 00:02, 3F