Bir


                    
                    
                

🔥 | Latest

Bir: a aAb int temp-ai b-temp long long 1 a-(int)1 b. (int) t>>32% int a_cpy ai int b_cpy bi b-a_cpy long long c c-a+b a-c-a sprintf (a_c,zd" a) sprintf (b_cmzdnbl ; b-atoia_c) a-atoi(b_c) int* ptr-malloc (2*sizeof int)i memcpy (ptr,8a1sizeof (a)) memcpy (ptr+l,&bisizeof (b) a-x(ptr1) free (ptr)i char cnd_atlb1i char cad bELb1 sprintf(cmd-a'"echo %d",a) sprintf (cmd-b l "echo %d",b); FILE* ac popen (cmd ar pclose(ac) FILE* bc popen(cmd bi"r")i pclose(bc) FILE f-fopen (fn a+b" fprintf(f,"%d %d"'a,b); fseekt f:0、SEEK_SET) ; fscanf (f."%d", &b); fgetcf fscanf (f-"d",a) fclose(f) remove(fn) int rnd-rand) char a_eC14] char astrIL11 sprintf (astr1%d",a); sprintf (a_e,"a drnd) char beL141 char bstrIl11 sprintf (bstr,"%d"b); sprintf (b_e"_b_2d"rnd)i setenv (a-e-astra); setenv(b_ebstril) char b_s-getenvcb_e unsetenv(b_e) aFatoi(b s) char a_s-getenv(a_e)i unsetenv(a_e)i bratoi (a_s) chars cstr-"usernull_void passfile-/.pgpvo dbname postgres" PGconn *connP@connectdb (cstr) char qstrE53 sprintf(qstr,"select %d::int as \"b\"\ d:int as ana-b) PGresult q P@exec (qstr)i P@clear(q) conn int height 1024 int width-height 10i float fnt_size 999.0f nk b ht BITMAP bm_b blank_bitmap(wi char astrIl1I sprintf ( astr."%d",a); char bstrIl1I sprintf (bstr,"2d"b FONT_FACE fnt-font face_by_name("OCR A Std"i set font_face_size(fnt_size) shape_and_render (fntiastr,bm_a)i shape_and render (fnt.bstr,bm b) font_face_done(fnt) char a data-OCR_ whole(a_ocr p) OCR_op_done (a_ocr)ibitmap_done (bm_a) char b_data-0CR_whole (b_ocr_p)i OCR op_done(b_ocribitmap_done (bn b) a-atoi(b_data)i b-atoi(a_data)i printf (na: %d\n",a); printf ( please enter a) printf("please enter b)s scanf ("2d" 18à)i Swap two int boi
Bir: a aAb
 int temp-ai
 b-temp
 long long 1
 a-(int)1
 b. (int) t>>32%
 int a_cpy ai
 int b_cpy bi
 b-a_cpy
 long long c
 c-a+b
 a-c-a
 sprintf (a_c,zd" a)
 sprintf (b_cmzdnbl ;
 b-atoia_c)
 a-atoi(b_c)
 int* ptr-malloc (2*sizeof int)i
 memcpy (ptr,8a1sizeof (a))
 memcpy (ptr+l,&bisizeof (b)
 a-x(ptr1)
 free (ptr)i
 char cnd_atlb1i
 char cad bELb1
 sprintf(cmd-a'"echo %d",a)
 sprintf (cmd-b l "echo %d",b);
 FILE* ac popen (cmd ar
 pclose(ac)
 FILE* bc popen(cmd bi"r")i
 pclose(bc)
 FILE f-fopen (fn a+b"
 fprintf(f,"%d %d"'a,b);
 fseekt f:0、SEEK_SET) ;
 fscanf (f."%d", &b);
 fgetcf
 fscanf (f-"d",a)
 fclose(f)
 remove(fn)
 int rnd-rand)
 char a_eC14]
 char astrIL11
 sprintf (astr1%d",a);
 sprintf (a_e,"a drnd)
 char beL141
 char bstrIl11
 sprintf (bstr,"%d"b);
 sprintf (b_e"_b_2d"rnd)i
 setenv (a-e-astra);
 setenv(b_ebstril)
 char b_s-getenvcb_e
 unsetenv(b_e)
 aFatoi(b s)
 char a_s-getenv(a_e)i
 unsetenv(a_e)i
 bratoi (a_s)
 chars cstr-"usernull_void
 passfile-/.pgpvo dbname postgres"
 PGconn *connP@connectdb (cstr)
 char qstrE53
 sprintf(qstr,"select %d::int as \"b\"\
 d:int as ana-b)
 PGresult q P@exec (qstr)i
 P@clear(q)
 conn
 int height 1024
 int width-height 10i
 float fnt_size 999.0f
 nk b
 ht
 BITMAP bm_b blank_bitmap(wi
 char astrIl1I
 sprintf ( astr."%d",a);
 char bstrIl1I
 sprintf (bstr,"2d"b
 FONT_FACE fnt-font face_by_name("OCR A Std"i
 set font_face_size(fnt_size)
 shape_and_render (fntiastr,bm_a)i
 shape_and render (fnt.bstr,bm b)
 font_face_done(fnt)
 char a data-OCR_ whole(a_ocr p)
 OCR_op_done (a_ocr)ibitmap_done (bm_a)
 char b_data-0CR_whole (b_ocr_p)i
 OCR op_done(b_ocribitmap_done (bn b)
 a-atoi(b_data)i
 b-atoi(a_data)i
 printf (na: %d\n",a);
 printf ( please enter a)
 printf("please enter b)s
 scanf ("2d" 18à)i
Swap two int boi

Swap two int boi