上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 47 下一页
摘要: 时间限制: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 阅读(269) 评论(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 阅读(158) 评论(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 阅读(210) 评论(0) 推荐(0)
摘要: 时间限制:3000 ms | 内存限制:65535 KB 难度:2 时间限制:3000 ms | 内存限制:65535 KB 难度:2 阅读全文
posted @ 2016-06-05 10:23 PKICA 阅读(812) 评论(0) 推荐(0)
摘要: Qt Creator快捷键 1 .Ctrl(按住)+ Tab快速切换已打开的文件 2 .快速添加方法实体(.cpp)声明, 将光标移动到h文件中的方法声明。按Alt(按住)+ Enter,再按回车键将在cpp中添加该函数的声明。 3 .修改变量名,并应用到所有使用该变量的地方。 将光标移动到需要更改 阅读全文
posted @ 2016-05-31 07:08 PKICA 阅读(477) 评论(0) 推荐(0)
摘要: 在多用户下,卸载compiz后某个单一用户出现菜单栏和任务栏图标消失的情况。 这时,需要在图形界面下重置compiz $dconf reset -f /org/compiz/ 重启unity $setsid unity 阅读全文
posted @ 2016-05-29 16:22 PKICA 阅读(259) 评论(0) 推荐(0)
摘要: 【http://www.linuxdiyf.com/viewarticle.php?id=437020 Debian8, 桌面环境是xfce4, 安装完成后发现前面板音频输出插孔正常,后面板的没声音。以下是一种解决方法: 1. 终端运行alsamixer, F6选择音频设备后,左右键选择,按m静音或 阅读全文
posted @ 2016-05-28 09:06 PKICA 阅读(1627) 评论(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 阅读(622) 评论(0) 推荐(0)
摘要: 系统文件类型: 1) $mout 2) df -l:仅列出本地文件系统;-h (--human-readable);-T:文件系统类型 $df -lhf 3) file -s (--special-files) $file -s /dev/sda1 4)$parted (parted)print l 阅读全文
posted @ 2016-05-24 07:11 PKICA 阅读(553) 评论(0) 推荐(0)
摘要: <!--StartFragment-->int add_range(int low, int high); int main(int argc, char *argv[]) { int result[100]; result[0] = add_range(1,10); result[1] = add 阅读全文
posted @ 2016-05-21 17:03 PKICA 阅读(1223) 评论(0) 推荐(0)
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 47 下一页