随笔分类 - 未解决的问题
摘要:醉了,文件名字乱码,虽然下载成功了,但是文件名字是乱码。 自己用C写的CGI,成功获取了前端上传的文件,可是,如果文件名字是中文,就会出现下面这种情况:
阅读全文
摘要:问题描述: 把列表listview写入notebook里。 在main函数中, 在create_page_one函数里 在event_to_add函数里
阅读全文
摘要:超时#include #include #define M 1000001int shu[M];int main(){int n, x, i, j, p, e, m;scanf("%d", &n);while(n--){ memset(shu, 0, sizeof(shu));shu[1] = 1;scanf("%d", &x);#if 0for(i = 1, p = 1; i = 10){shu[j+1] = shu[j] / 10;shu[j] %= 10;p++;}}}#endifp = 1;for(i = 1; i <= x
阅读全文
摘要:1 #include 2 #include 3 #define M 100001 4 5 struct time 6 { 7 int a; 8 int b; 9 }flower[M];10 11 int visit[M];12 13 int cmp(const void *x, const void *y)14 {15 struct time *m = (struct time *)x;16 struct time *n = (struct time *)y;17 return m->a - n->a;18 }19 20 int main()21...
阅读全文
摘要:1 #include 2 #define M 301 3 int r[M], c[M]; 4 5 int main() 6 { 7 int k, m, n, i, j, sum, flag, t; 8 scanf("%d", &k); 9 while(k--){10 11 sum = 0;12 scanf("%d %d", &m, &n);13 for(i = 1; i c[i])51 {52 for(j = 1; j c[i])60 ...
阅读全文

浙公网安备 33010602011771号