|
|
back to boardShow all messages Hide all messagesMy AC program in Java has 396 lines =) And you?))) C++, 144 lines, 3026 characters (including comments, 15 empty lines, and the tracing utilities). pascal 196 o(∩_∩)o... It's not the shortest, but I am really proud of it! Edited by author 22.09.2009 21:13 Java - 330 :) Good architecture is the key for the shortest program and saving nerves.IMHO Edited by author 04.02.2010 21:26 That's funny. This is the first question that comes to mind after the AC. (300 PASCAL lines) Java 186 Edited by author 29.11.2020 17:38 Edited by author 29.11.2020 17:43 Python (74) is really good at these kinds of problems. p1 = Polynomial.parse(input()) p2 = Polynomial.parse(input()) print(p1*p2) |
|
|