上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 39 下一页
摘要: 时间限制:3000 ms | 内存限制:65535 KB 难度:5 时间限制:3000 ms | 内存限制:65535 KB 难度:5 设平面上有N 个离散数据点( xi , yi ) ( i = 1, 2, ., n) , 其多边形重心G( . x1, . y1) 为: 这是求多边形最简单直观的方 阅读全文
posted @ 2016-06-15 07:10 PKICA 阅读(696) 评论(0) 推荐(0) 编辑
摘要: 时间限制:3000 ms | 内存限制:65535 KB 难度:4 n为奇偶数时,要分清况。|a1|-|x|+|x|-|a2+……+||<=|a1-x|+|a2-x|+………+|an-x| //v0.01 C #include <stdio.h>#include <stdlib.h>int main 阅读全文
posted @ 2016-06-14 22:08 PKICA 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 时间限制:3000 ms | 内存限制:65535 KB 难度:1 //迭代 C 时间复杂度是0(n),时间复杂度是0(1)。 #include<stdio.h>int f(int n);int main(){ int n; int i; int m; scanf("%d",&m); getchar 阅读全文
posted @ 2016-06-13 22:21 PKICA 阅读(261) 评论(0) 推荐(0) 编辑
摘要: //优秀代码 c++ #include<iostream>#include<string>using namespace std;int main(){ string s1,s2; int n; cin>>n; while(n--) { cin>>s1>>s2; unsigned int m=s2. 阅读全文
posted @ 2016-06-07 07:12 PKICA 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 时间限制:3000 ms | 内存限制:65535 KB 难度:3 1 #include <stdlib.h> 2 #include <stdio.h> 3 #include <string> 4 #include <string.h> 5 #include <iostream> 6 #includ 阅读全文
posted @ 2016-06-05 17:20 PKICA 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 时间限制:3000 ms | 内存限制:65535 KB 难度:2 时间限制:3000 ms | 内存限制:65535 KB 难度:2 阅读全文
posted @ 2016-06-05 10:23 PKICA 阅读(780) 评论(0) 推荐(0) 编辑
摘要: Qt Creator快捷键 1 .Ctrl(按住)+ Tab快速切换已打开的文件 2 .快速添加方法实体(.cpp)声明, 将光标移动到h文件中的方法声明。按Alt(按住)+ Enter,再按回车键将在cpp中添加该函数的声明。 3 .修改变量名,并应用到所有使用该变量的地方。 将光标移动到需要更改 阅读全文
posted @ 2016-05-31 07:08 PKICA 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 在多用户下,卸载compiz后某个单一用户出现菜单栏和任务栏图标消失的情况。 这时,需要在图形界面下重置compiz $dconf reset -f /org/compiz/ 重启unity $setsid unity 阅读全文
posted @ 2016-05-29 16:22 PKICA 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 【http://www.linuxdiyf.com/viewarticle.php?id=437020 Debian8, 桌面环境是xfce4, 安装完成后发现前面板音频输出插孔正常,后面板的没声音。以下是一种解决方法: 1. 终端运行alsamixer, F6选择音频设备后,左右键选择,按m静音或 阅读全文
posted @ 2016-05-28 09:06 PKICA 阅读(1569) 评论(0) 推荐(0) 编辑
摘要: int main(int argc, char *argv[]) { int a = 10, b; __asm__("movl %1, %%eax\n\t" "movl %%eax, %0\n\t" :"=r"(b) :"r"(a) :"%eax" ); ... 阅读全文
posted @ 2016-05-25 21:00 PKICA 阅读(602) 评论(0) 推荐(0) 编辑
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 39 下一页