From 368f7084e69359543505fdf65eff241df0106f0c Mon Sep 17 00:00:00 2001 From: Gloridust Date: Wed, 1 May 2024 22:01:10 +0800 Subject: [PATCH] city_count --- guessID | Bin 16808 -> 25264 bytes guessID.c | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/guessID b/guessID index 0bd9797cc42560b73bc8292760ba728bd984529f..f6ea5ae9f64b595a0743a742b67b91b7fe1d1cea 100755 GIT binary patch literal 25264 zcmeI4e|+0jxyMi1bt|yZ3^u5MEF!}WSWUZM9Y4#qY~R5Kb!<`;OtUs!d+jgV6gq`b z2!X~dP?1T2c_}!wintEj?E@?$`uz0Nhd;6t};eHr!9mi7iD4^{hcLF7n4an ziGJlO+bV~0kfCM1vdbmOeuca-jyw%&p{1@NOZLl_%8x^imckBZzdYVlY?Y7Aft{8* zKUH2i@~sU$S5-z!vmf`3eKq{-*Jes#X}9*{?qWZO@^dIZEk{*HXsP>?tHHlA71t`A zl*dU+t6!b+v&v;~6IyZ^oUT0RtNC}zt5AO1mLQH*u7z4?smuEe`EkGet4R;@8dYAl zaTrzeQ%lvo;?oWF>le=dbVJSDhWe)Vj=3FW3+FDJU));^>WaU=hTYJ*9i&} zVV&wmk<$s*@i=dW%4hqhi|_leyKCmgGw=GrWwlp*KKY3+UUMPaaJ|`wZ8&i}RYl3X zeJcIf2L17%=u|r1SN3^dZrrfWqnl5f%(R&BgiMvBrCIb_v*_Eh=p9+~ACR8&tZ51< z#;XsvaXkIEv*OGEP5V?@#?uVi+(0KI4IAW9wfzhaT>DdAI+k_ zEQ{WqMSph|{Y6>yXJ)B?WfuDY>Cd2_HO(Z&ba9HXS0P6qk3{VTudhwC`C6-6Hi}m7 z_4Q3PL^btIqNN=fO`PL)xA{EPUvyX3ebHU(sc#UqtzNJ2cGUaWuDZ_CDr%csyiFXb z0fM%K$JbmhgSWLbiAGODLvuBSqJ6!ZOvg3kV+H@0 zOFx_1&Y|-HwEP#^yp%>;*~n@y4TU~%oLpZ&jgM|GE8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K9Xf5S$kxHV8(9d91&CDaZ-C5YZ+6gJ0iV|B@Vam#MAhA(1-m`8 zV8HE?+ciwCvi4%6Ws4aM7Z-%=a2ey%v^wZCzR`nWe|RCU;1+g#@NFV#b39$#J(2}z z8tl@bA%xpEa_-5<-a3-)07oe12>xdYm_4wmS$EU{)%}7tQVq78xcx26?)B+zdxJM< zhoRTv_UoGrP+iaid%Zj^39VdJH5=z7S8sF#8kya-$qP*g3L9X!@i$X6KRHp=xjN0gIJ@+sW*@8-6vh^YLZ(`}hE~yBp=SY;=J);)D+|KZOO= zp(#hR2b>9W=pkl@3qv!^_gvSWe*nYv2;AD>*+>-gzD-(>NHN!?I?`LGPwMqfThugIh`3p4N3lX&nbDyr2(b`6e*9Mxyplz$2Ax6wC*BWE$z+mOPEEWf;lDoHdKT{l-7aNzWMxjf-c&xLL(@&t|Ut9 zP_)OKneAT$40A&M)Awn4zozvzsPJO$|J{HZ?QPPIsCmHCV*t?~n(gH}%_b@7iPkfZ z5rlV`?8~Jc(LpkllBW!kq+6^cX`{GImuL46DyI0v!Ndm7qT zY>tzt8{!8{mhl8=vo>fTIazUvbazJ*(j{;-FsC|0gwn}@t&XK;^-&oncR3|k? z_S4gds9>yEj5Iy=goyuLA{|!9_hdH#ic^E)r?~L_1;x${<)7AtqEc-VQoE#!)77NH PMO{mT#w3%0iDiEU()@WA diff --git a/guessID.c b/guessID.c index 6467efd..9ddc970 100644 --- a/guessID.c +++ b/guessID.c @@ -4,6 +4,7 @@ #include #define THREAD_COUNT 8 +#define city_count 3207 char* id_input; @@ -68,7 +69,7 @@ char** read_city_codes(const char* filename) { int main() { char** city_codes = read_city_codes("citycodes.txt"); - const int city_count = sizeof(city_codes) / sizeof(city_codes[0]); + // const int city_count = sizeof(city_codes) / sizeof(city_codes[0]); id_input = malloc(19 * sizeof(char)); // Allocate memory for ID input printf("请输入身份证号码,用星号 (*) 替代未知数字:");