摘要:
FB.api('/me/feed', 'post', { message: message_str }, function(response) { if (!response || response.error) { console.log(response.error); alert(response.error.message); // alert('Error occured'); } else { alert('Successfully published!'); ... 阅读全文
摘要:
There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time. It was possible to establish only a surface track. Moreover, it turned out that the station could be only a dead-end one 阅读全文
摘要:
Problem B: Throwing cards away IGiven is an ordered deck ofncards numbered 1 tonwith card 1 at the top and cardnat the bottom. The following operation is performed as long as there are at least two cards in the deck:Throw away the top card and move the card that is now on the top of the deck to the 阅读全文
摘要:
OJ是Online Judge系统的简称,用来在线检测程序源代码的正确性。这次任务需要在OJ上完成一定的题目数。正式的ACM比赛题目采用纯英文,鉴于大家可能刚开始入门比较困难,先从中文题开始做起,hoj(杭州电子科技大学)OJ的28道中文题以及zoj(浙江大学)30道英文题。选取的题目不涉及任何算法,只要会一种语言(C/C++,JAVA)以及基本的数学基础均可做出来,只为锻炼大家代码熟练程度。共计需要完成 59 题,需要大家独立完成,不限时间,完成者经过审核后即可加入ACM实验室。Hdu oj 地址: http://acm.hdu.edu.cn/listproblem.php?vol=1(以下 阅读全文