#include <stdio.h>
int main(void){
int i = 10;
printf("%d",i);
return 0;
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add/remove | |
insert/delete | |
increment/decrement | |
lock/unlock | |
old/new | |
source/destination | |
begin/end | |
first/last | |
put/get | |
min/max |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let repeatSpace = (n, ret = "") => { | |
while(--n >0) ret += " "; return ret; | |
} | |
window.onload = ()=>{ | |
document.querySelectorAll("h1, h2, h3, h4").forEach((value)=> { | |
document.getElementById("sidebar_toc").innerHTML += | |
`${repeatSpace(value.tagName.substring(1))}<a href="#${value.id}">${value.innerHTML}</a><br>`; | |
}) | |
} |
参见 百度百科
- 将前面的身份证号码 17 位数分别乘以不同的系数。从第一位到第十七位的系数分别为:
7 9 10 5 8 4 2 1 6 3 7 9 10 5 8 4 2
; - 将这 17 位数字和系数相乘的结果相加;
- 用加出来和除以 11,看余数是多少;
- 余数只可能有
0 1 2 3 4 5 6 7 8 9 10
这11个数字。其分别对应的最后一位身份证的号码为1 0 X 9 8 7 6 5 4 3 2
;