本文纯属个人见解,是对前面学习的总结,如有描述不正确的地方还请高手指正~
每日一道理
只有启程,才会到达理想和目的地,只有拼搏,才会获得辉煌的成功,只有播种,才会有收获。只有追求,才会品味堂堂正正的人。
// File Name: hdu1160.cpp// Author: rudolf// Created Time: 2013年04月25日 木曜日 14时47分25秒 #include #include #include
s; s.push( mouse[max_num].num ); while( path[max_num]!=-1 ) { s.push(mouse[path[max_num]].num); max_num=path[max_num]; } printf("%d\n",s.size()); while( !s.empty() ) { printf("%d\n",s.top() ); s.pop(); } return 0; }
文章结束给大家分享下程序员的一些笑话语录: AdobeFlash拖垮Windows拖垮IE!又拖垮Linux拖垮Ubuntu拖垮FirxEox!还拖垮BSD拖垮MacOS拖垮Safri!简直无所不拖!AdobeFlash滚出网路世界!不要以为市占有率高就可以持续出烂货产品!以后替代品多得是!