模拟
guiallanchen
这个作者很懒,什么都没留下…
展开
-
TJU Exercise Contest 2011(7) A题
A. Fair Divisionhttp://59.67.33.130/toj/contest/showp160_A.html#include#include#includeusing namespace std;struct Node{ int num; int max; int fin;}stu[101];bool cmp(Node a,Node b){ if(a.max>b.max) return true; else if(a.max==b.max&&a.nu原创 2011-02-24 15:56:00 · 305 阅读 · 0 评论 -
joj 2259 进制转换(含负进制)
<br />N-Converter<br />http://acm.jlu.edu.cn/joj/showproblem.php?pid=2259&off=2200<br />#include<iostream><br />#include<cstdio><br />using namespace std;<br />int change(int n)<br />{<br /> if(n<0)<br /> n=-n;<br /> return n;<br />}<br />void wor原创 2011-02-24 16:00:00 · 317 阅读 · 0 评论