二进制水题~。 int n,m; int main() { cin>>n>>m; while(m--) { string s; cin>>s; int res=0; for(int i=0;i<s.size();i++) if(s[i] == 'n') res+=1<<(n-1-i); cout<< ...
分类:
其他好文 时间:
2021-04-22 15:39:34
阅读次数:
0
Linux系统调用表 记录下来,免得到处找 32位 int 0x80 %eax Name Source %ebx %ecx %edx %esx %edi 1 sys_exit kernel/exit.c int - - - - 2 sys_fork arch/i386/kernel/process. ...
分类:
系统相关 时间:
2021-04-22 15:36:36
阅读次数:
0
Vue 使用 BIMFACE 实现3D着火demo 官网: https://bimface.com/ 案例: https://bimface.com/developer-jsdemo#1011 <template> <div style="height: 90%;"> <button class=" ...
分类:
其他好文 时间:
2021-04-21 12:56:52
阅读次数:
0
PostgreSQL 9.6安装 1、添加RPM sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm 2、安 ...
分类:
数据库 时间:
2021-04-21 12:51:42
阅读次数:
0
主配置文件 /etc/sysconfig/network-scripts/ifcfg-eth1 里面的详细内容 DEVICE=eth1 网卡名称 TYPE=Ethernet 类型,Ethernet|Bridge ONBOOT=yes 是否激活设备 IPADDR=172.16.55.158 IP地址 ...
分类:
系统相关 时间:
2021-04-21 11:49:19
阅读次数:
0
sys:macOS Big Sur 版本 11.2.3 python: 3.8.5 selenium: 3.141.0 Chrome: 版本 90.0.4430.72(正式版本) (x86_64) Firefox: 87.0 (64 位) chromedriver: ChromeDriver 90. ...
分类:
其他好文 时间:
2021-04-20 15:38:18
阅读次数:
0
创建用户 SQL> conn sys/123456 as sysdba 已连接。 SQL> show user USER 为 "SYS" SQL> create user Irving identified by Irving; 用户已创建。 用户虽然创建了但是什么权限都没有 给用户授权后就能登陆 ...
分类:
数据库 时间:
2021-04-20 14:57:17
阅读次数:
0
select系统调用 #include <sys/select.h> int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); nfds:是指集合中所有文件 ...
分类:
系统相关 时间:
2021-04-20 14:09:45
阅读次数:
0
##Socket函数 #include <sys/types.h> #include <sys/socket.h> int socket(int domain, int type, int protocol); domain 协议族: AF_OCAL, AF_INT, AF_INET7 type S ...
分类:
其他好文 时间:
2021-04-19 15:04:18
阅读次数:
0
💛线程休眠的意思, Thread.sleep(毫秒数); 💛sleep()会产生InterruptedException异常; 💛休眠时间达到后线程进入就绪状态. 💛sleep()可以用来模拟网络延迟,倒计时等. 💛每一个对象都有一把锁, sleep()不会释放锁. package com ...
分类:
编程语言 时间:
2021-04-16 12:23:58
阅读次数:
0