
UVA
MAR_Alviss
脚着AJ屐,身着品如衣
展开
-
UVA 12333
字典树比较不错的练习,也是指针的比较不错的练习#include using namespace std; typedef struct node { node* next[10]; int id,flag; }T; T *root,N[5000000]; int ss = 0; void in(int *num,int l,int id) { T *now = root;原创 2016-01-28 15:17:47 · 424 阅读 · 0 评论 -
UVA 1597
这个模拟花了我大约一天时间,费劲了周折。从有思路开始,到编写完成加调试大约是用了半天时间,期间不停地WA了不下10遍,因为vj上的输出格式问题也错了4遍。后来 在WA时参考了网上一些题解,对于自己的一些烂代码做了一些改进,不过依旧很low。对于模拟题还是耐心点为好! 点击打开链接 #include #include #include #include #include #原创 2015-10-14 09:55:32 · 992 阅读 · 0 评论