谁知道最优解?

P1001 A+B Problem

Leo_LeLe @ 2022-01-01 21:39:51

现在的话好像连你谷服务器都不知道了

来了个“TLE”


by Leo_LeLe @ 2022-01-01 21:42:07

time limit 1000ms


by lemon_qaq @ 2022-01-01 21:43:23

@yangchang link


by Leo_LeLe @ 2022-01-01 21:44:21

但是他IO没有优化


by Leo_LeLe @ 2022-01-01 21:45:03

再说,if else->switch会少很多算力。


by Leo_LeLe @ 2022-01-01 21:45:28

其次是加法运算也不特别慢。


by xuzhihao1 @ 2022-01-25 13:47:56

scanf printf


by j1ANGFeng @ 2022-03-12 18:06:05

@xuzhihao1

快读快写快多了


by _H17_ @ 2022-11-06 18:33:48

@OI 这个:

var a,b:int64;
begin
 readln(a,b);
 writeln(a,b)
end.

Pascal运行最快!


|