From 70e3f2cba394e33d5a4ea285c287fd31d0ceac94 Mon Sep 17 00:00:00 2001 From: Matus Tokarcik Date: Thu, 28 Mar 2024 19:44:42 +0100 Subject: [PATCH] a1 --- a1/program.c | 53 +++++++++++++++++++++++++++++++++++++++ a1/program.exe | Bin 0 -> 66598 bytes a1/program.exe.stackdump | 33 ++++++++++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 a1/program.c create mode 100644 a1/program.exe create mode 100644 a1/program.exe.stackdump diff --git a/a1/program.c b/a1/program.c new file mode 100644 index 0000000..148b094 --- /dev/null +++ b/a1/program.c @@ -0,0 +1,53 @@ +#include +#include +#include +#include +#include + +int main(){ + + char pole[100]; + char* a = fgets(pole, 100, stdin); + double cislo1; + double cislo2; + double vysledok; + char znamienko; + char* token; + + token = strtok(pole, " "); //rozdelenie retazca podla medzier + cislo1 = atoi(token); // premena stringu na cislo a priradenie cislu1 + token = strtok(NULL, " "); //pokracovanie v rozdelovani retazca + znamienko = token[0]; // vrati ukazatel na nasledujuci token, cize znamienko + token = strtok(NULL, " =\n"); + cislo2 = atoi(token); + token = strtok(NULL, " =\n"); + vysledok = atoi(token); + + double realny; + + switch (znamienko){ + case '+': + realny = cislo1 + cislo2; + break; + case '-': + realny = cislo1 - cislo2; + break; + case '*': + realny = cislo1 * cislo2; + break; + case '/': + realny =cislo1 / cislo2; + break; + default: + printf("CHYBA\n"); + return 1; + } + if (realny == vysledok){ + printf ("OK\n"); + } + else{ + printf ("ZLE\n"); + } + + return 0; +} \ No newline at end of file diff --git a/a1/program.exe b/a1/program.exe new file mode 100644 index 0000000000000000000000000000000000000000..43e990a1dfbbef20b7ed657dfee569d34fdd59cd GIT binary patch literal 66598 zcmeHw3w&Hhb@$wTUg_$wk}O+J{8&3q;yfhlX~~J5=(VyG>#^3umJ`ByC9Px;y`o+D zk&wpV05KuO<ARUmj*49d{%#{jd<q)((l)CA#bcZ>ft>03bD6pES`!3h_G8WjGIR@Sgx8k5m}dNocu4v={TBE zi>i@@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Tx`Wh}UMs>vFx#p9{t}t>ul0;=+sXv-63uDCDa` z{fT&T)&h6NXU3*b7n8HJ8C@{MU4{;d*j$3I7slonW>S;W35bDj_=9Nfmw!!4_Di8w zEo=y!d)z{c@ufwzhFz63TU)I%+fn&~haFX~Ic{!fsA~{a2NLm{s$$?Qj(agjgDR^+ zeBZ_TaBntR|Bivwmh?7eIWxs#vHqc6d{Ypgup5XBwfEs`W8Hmi_{=80juwNMv0}Bk zp4Xca^D~Jle4;WA!6^lywFsIG^_8fxc6=+)%Bkd3Bj*nmKEBYbCKO~Fv>7+&0pKGw zl}r<3^WZe`Kz}YN+r`9C%^&0b3h_~>EcAAAG%1-#PTrD;&5o1O=uJ{I*dLA+aVMBx zV3#S=@mI~x$C3*p*!&`un2zmF%qJ(YwH$MCH>KFYsWf92WHJXt-E2$+k)NoZiBFN$ zLy*@bD|#p<_ih-=YSII_n-qO8k&Dy3|5lsGdjOI?^x$Pba(nUtLHs5ChPxz8qD z0+$?d=B`+lHvq7d7)`NB;!~3oGt<~@Le{CPWzf9CFD3!2_HLb$x@&Rb{2p3NRwakp zTOEBY0oB?^^%UC^sh-)fg{g!ZXIjiwQe-pwBPZnN(IIo>I#ejx_egf@<}zTIMzWu)!>#jfLYQ~0{MTM_a;36 literal 0 HcmV?d00001 diff --git a/a1/program.exe.stackdump b/a1/program.exe.stackdump new file mode 100644 index 0000000..1c22d7e --- /dev/null +++ b/a1/program.exe.stackdump @@ -0,0 +1,33 @@ +Exception: STATUS_ACCESS_VIOLATION at rip=7FFF82234123 +rax=00007FFF822B57E0 rbx=0000000000000000 rcx=00000007FFFFCE00 +rdx=0000000000000000 rsi=000000000000000A rdi=0000000000000000 +r8 =0000000000000000 r9 =000000000000000A r10=00000007FFFFCE00 +r11=000000000000002A r12=00000007FFFFCE00 r13=0000000000000000 +r14=0000000000000000 r15=00007FFF822B57E0 +rbp=0000000000000000 rsp=00000007FFFFCAA0 +program=C:\cygwin64\home\matus\a1\program.exe, pid 2084, thread main +cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B +Stack trace: +Frame Function Args +000000000000 7FFF82234123 (000000000000, 0007FFFFCC40, 000100000370, 7FFF822B57E0) cygwin1.dll+0x174123 +0007FFFFCC40 7FFF82234411 (000A00000370, 0007FFFFCDF0, 000000000000, 000800021389) cygwin1.dll+0x174411 +0007FFFFCC40 7FFF82230591 (7FFF8239F0C0, 7FFF822B5800, 7FFF8239F160, A623D312A0061) cygwin1.dll+0x170591 +0007FFFFCC40 00010040112D (000000000000, 000000000000, 000000000000, 000000000000) program.exe+0x112D +0007FFFFCD30 7FFF820C80A3 (000000000000, 000000000000, 000000000000, 000000000000) cygwin1.dll+0x80A3 +0007FFFFFFF0 7FFF820C5C86 (000000000000, 000000000000, 000000000000, 000000000000) cygwin1.dll+0x5C86 +0007FFFFFFF0 7FFF820C5D34 (000000000000, 000000000000, 000000000000, 000000000000) cygwin1.dll+0x5D34 +End of stack trace +Loaded modules: +000100400000 program.exe +7FF812C10000 ntdll.dll +7FF804620000 aswhook.dll +7FF810960000 KERNEL32.DLL +7FF80FF50000 KERNELBASE.dll +7FFF820C0000 cygwin1.dll +7FF8113F0000 advapi32.dll +7FF811050000 msvcrt.dll +7FF8112B0000 sechost.dll +7FF810300000 bcrypt.dll +7FF810A40000 RPCRT4.dll +7FF80F6B0000 CRYPTBASE.DLL +7FF810720000 bcryptPrimitives.dll