標題:
APCS解題基本框架
[打印本頁]
作者:
ray
時間:
2019-12-14 19:57
標題:
APCS解題基本框架
import java.io.*;
import java.util.Arrays;
public class B964 {
B964(){
StreamTokenizer cin = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));
PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
try
{
while(cin.nextToken() != StreamTokenizer.TT_EOF)
{
int n = (int)cin.nval;
cin.nextToken();
n = (int)cin.nval;
out.print(" ");
out.flush();
}
}catch(Exception e)
{}
}
public static void main(String[] args) {
// TODO 自動產生的方法 Stub
new B964();
}
}
複製代碼
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://seed.istak.org.tw/)
Powered by Discuz! 7.2