|
|
вернуться в форумJava solution exists! I've solved this problem in Java! http://acm.timus.ru/status.aspx?space=1&num=1220&author=23793 FAQ ( http://acm.timus.ru/help.aspx?topic=java&locale=en) says "Here is the list of the problems which are not guaranteed to be solvable in Java: 1220, 1275, 1306." Now 1220 may be removed from this list. Russian version of the FAQ slightly more close to the truth. It says that problems except 1220, 1275 and 1306 may be solved in Java _without_significant_difficulties_. And this statement is true. 1220 _may_ be solved in Java, but with much more difficulty than in Pascal or C++. Re: Java solution exists! great! how to C# ? Re: Java solution exists! how to C# ? Your solution 2525637 uses only 300 kb of memory. Probably it does nothing, but 750-300 kb is enough to get AC using right techniques. The most important is to not create objects. So no strings, only reusable arrays of characters. And probably you are to implement reading and writing classes over byte IO that do not use object creation. Re: Java solution exists! Your solution 2525637 uses only 300 kb of memory. Probably it does nothing. ------------------------ Yes, it's only: static void Main(){} but it uses 365KB memory. The most important is to not create objects. So no strings, only reusable arrays of characters. And probably you are to implement reading and writing classes over byte IO that do not use object creation. ------------------- i shall try. thank you very much. |
|
|