在list-sell.htm中添加的 <?php $a = $t[itemid]; $b = $db->get_one("select value from destoon_category_value where itemid='$a'"); echo $b[value]; ?> ...
分类:
其他好文 时间:
2018-12-04 11:23:06
阅读次数:
225
//参数 SqlParameter[] fparams = new SqlParameter[7]; fparams[0] = new SqlParameter("@ID", ID); fparams[1] = new SqlParameter("@VoucherAmt", VoucherAmt); ...
分类:
其他好文 时间:
2018-11-19 11:02:35
阅读次数:
161
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=835&page=show_problem&problem=37 木块问题,模拟堆的操作。每个堆的高度不确定,用vector来做很合适(vec ...
分类:
其他好文 时间:
2018-11-14 14:38:28
阅读次数:
113
在api/extend.func.php文件中加入下面的函数 function xh_favorite($mid,$itemid){ global $db; $nums = $db->get_one("SELECt COUNT(*) AS num FROM {$db->pre}favorite WH ...
分类:
其他好文 时间:
2018-11-14 10:24:36
阅读次数:
280
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=69 有n个人向内排成一圈,从一个位置开始逆时针数k个,第k个出队,从一个位置开始顺时针数m个,第m个出队, ...
分类:
其他好文 时间:
2018-11-13 14:26:00
阅读次数:
237
题目链接: http://codeforces.com/gym/101194/attachments https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&prob ...
分类:
其他好文 时间:
2018-11-04 23:01:15
阅读次数:
239
题目链接: http://codeforces.com/gym/101194/attachments https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&prob ...
分类:
其他好文 时间:
2018-11-04 00:29:20
阅读次数:
144
链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4158 题意: 你有c(0.01≤c≤1e8)美元现金,但没有股票。给你m(1≤m≤100)天时间 ...
分类:
其他好文 时间:
2018-10-09 23:56:34
阅读次数:
455
链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3693 题意: 有n(n≤128)个物体,m(m≤11)个特征。每个物体用一个m位01串表示,表示 ...
分类:
其他好文 时间:
2018-10-05 23:03:00
阅读次数:
213
链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4517 题意: 输入一个n(n≤100000)个元素的正整数序列,求一个连续子序列,使得该序列中所 ...
分类:
其他好文 时间:
2018-10-01 01:12:24
阅读次数:
376