2011-08-01から1日間の記事一覧

Android: 別パッケージのActivityを起動する

問題 別パッケージのActivityを起動する Intent intent = new Intent(this,jp.leontec.coresaap.CSFrameBrowser.class); intent.setClassName("jp.ex", "jp.ex.myactivity"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent);という…

Project Eueler: problem18

問題 By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23.3 7 4 2 4 6 8 5 9 3That is, 3 + 7 + 4 + 9 = 23.Find the maximum total from top to bottom of the t…

Project Eueler: problem19

問題 You are given the following information, but you may prefer to do some research for yourself.1 Jan 1900 was a Monday. Thirty days has September, April, June and November. All the rest have thirty-one, Saving February alone, Which has …