|
初值又设置错了。。。。
题目 1270 [NOIP 2012]摆花
2016-05-04 12:56:23
|
|
手欠,非要用gets,读入崩了
然后换成scanf AC!! |
|
跟POJ描述不一样啊!!!不一样啊!!!粘代码orz得妥妥的……
题目 1679 [HAOI 2014]遥感监测
2016-05-03 20:15:17
|
|
std是这样读数据的
所以都能过。。。 |
|
有问题啊
各路神犇祝我一臂之力 var s:char; lc:boolean; temp,i,cj,ja,he:integer; begin assign(input,'expr.in'); reset(input); {assign(output,'expr.out'); rewrite(output); } cj:=1; while not eof do begin read(s); if (s>='0') and (s<='9') then temp:=(temp*10+(ord(s)-ord('0')))mod 10000 else begin if s='*' then begin cj:=cj*temp; lc:=false; end else begin if lc=true then begin ja:=ja+cj*temp; lc:=false; cj:=1; end else ja:=ja+temp; end; temp:=0; end; end; if lc=true then begin ja:=ja+cj*temp; lc:=false; cj:=1; end else ja:=ja+temp; writeln(50); close(input); close(output); end. |
|
龅牙。
题目 3 服务点设置
2016-05-03 19:21:56
|
|
|
|
[size=50]讨厌的盗号鱼,吃了你[/size]
题目 3 服务点设置
2016-05-03 19:19:53
|
|
VIP垃圾题,考场上写出并查集正解和写我在COGS交的暴力模拟的是一个分!
|
|
|
|
|
|
裸Bfs
|
|
|
|
QAQ
|
|
这题坑好多,注意输出C[I]>0的值,不是非0的,还有输入层的C值不用减去阀门值
题目 104 [NOIP 2003]神经网络
2016-05-02 16:38:49
|
|
裸DFS/BFS只过两个点...比186.牧场旅行难多了
题目 2075 [ZLXOI 2015][异次元圣战III]ZLX的陨落
2016-05-02 15:52:28
|
|
104.。。。10的4次方。。取模注意必须是整数就可以了
题目 983 [NOIP 2003]数字游戏
2016-05-02 15:49:14
|
|
交了。。13次?
题目 330 [NOI 2003]文本编辑器
2016-05-02 15:30:54
|
|
|
|
题目 2172 神秘的常数π-改正版
2016-05-02 13:41:37
|