From 3947666c859e8986c1d38dc39474519c5a616605 Mon Sep 17 00:00:00 2001 From: HORVILLE Ewen Date: Fri, 17 Sep 2021 09:26:08 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20des=20fichiers=20des=20s=C3=A9ances=20p?= =?UTF-8?q?r=C3=A9c=C3=A9dentes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- APL1.1/TP01/executable | Bin 0 -> 16080 bytes APL1.1/TP01/intermediaire.i | 1822 +++++++++++++++++++++++++++++++++++ APL1.1/TP01/salut.c | 10 + APL1.1/TP02/pascal.c | 14 + APL1.1/TP03/abientot | Bin 0 -> 16088 bytes APL1.1/TP03/abientot.c | 10 + APL1.1/TP03/arithmetique | Bin 0 -> 16088 bytes APL1.1/TP03/arithmetique.c | 11 + APL1.1/TP03/calcul | Bin 0 -> 16088 bytes APL1.1/TP03/calcul.c | 15 + APL1.1/TP03/conversions | Bin 0 -> 16088 bytes APL1.1/TP03/conversions.c | 12 + APL1.1/TP03/conversions_2 | Bin 0 -> 16096 bytes APL1.1/TP03/conversions_2.c | 12 + APL1.1/TP03/exitvalues | Bin 0 -> 16088 bytes APL1.1/TP03/exitvalues.c | 10 + APL1.1/TP03/limite | Bin 0 -> 16088 bytes APL1.1/TP03/limite.c | 8 + APL1.1/TP03/salut.c | 10 + APL1.1/TP03/undeuxtrois | Bin 0 -> 16088 bytes APL1.1/TP03/undeuxtrois.c | 12 + 21 files changed, 1946 insertions(+) create mode 100755 APL1.1/TP01/executable create mode 100644 APL1.1/TP01/intermediaire.i create mode 100644 APL1.1/TP01/salut.c create mode 100644 APL1.1/TP02/pascal.c create mode 100755 APL1.1/TP03/abientot create mode 100644 APL1.1/TP03/abientot.c create mode 100755 APL1.1/TP03/arithmetique create mode 100644 APL1.1/TP03/arithmetique.c create mode 100755 APL1.1/TP03/calcul create mode 100644 APL1.1/TP03/calcul.c create mode 100755 APL1.1/TP03/conversions create mode 100644 APL1.1/TP03/conversions.c create mode 100755 APL1.1/TP03/conversions_2 create mode 100644 APL1.1/TP03/conversions_2.c create mode 100755 APL1.1/TP03/exitvalues create mode 100644 APL1.1/TP03/exitvalues.c create mode 100755 APL1.1/TP03/limite create mode 100644 APL1.1/TP03/limite.c create mode 100644 APL1.1/TP03/salut.c create mode 100755 APL1.1/TP03/undeuxtrois create mode 100644 APL1.1/TP03/undeuxtrois.c diff --git a/APL1.1/TP01/executable b/APL1.1/TP01/executable new file mode 100755 index 0000000000000000000000000000000000000000..5ad665c56cb558e609a25026771e6c515c9648b5 GIT binary patch literal 16080 zcmeHOU2Ggz6~4QUW2cSRPHMNCUr$RyovPm0sbd_9$*g~8(Z&ghO;l()jCaTOO8aAW zXNz4B4KaY;dgQH3&0s{9qg%bOvd7YE3m5$nKo=7yF0F!h}xUb7 z;Nd+@^=&o|VTwN^g;yL-r^dUx4yTjt=~T8j(>~MF-QL|5DdZwYWX0I74!Cem4Ude8 z;CZotI_3vNph6Ck3??$6Z8KaLcI5wR$BoWUEOcLfvd4ZSAKyRH^0W8fLmTV|`a~N{ zsKbjBmhr{9e+6+`DOC*7*Ul>XmQC~zfnKR%KedS-$MBvi_F}qd6@;!QW(<8Il{M0- z$4n4m6cT#DGV+$5F;ZE9G7dtw7>>vK`t>7`Bax#*kBy$tlV;wWOcg9MKYF4+oy(e| z#&{ZiOlERf@}WDXRSmIGLHOq&jGwp{vOJH9yHne+yi=CLeNFcz-$xxgoPt%4ewiG! zsZKfDv%GZN(PLaN_MDbodb%}b(TYp&o(HQgy?oA*qcxY_egA}2$Dj^?ZUJKW;77oZ zfFA)r0)7Pi2>223Bk;c*fxk8Ge@~nHbG`Od?QaeXp*^u+1?`u$xfkmfWw-64uYuY= zcpZKlTUE%RjH`R``m$}?$nSh3R=W0xR(egFyS{pAG(KPZC@f{Q`34)TwE5m^0Cr0r zcsHL0@de0e^R>?-99y$mpz0CKL)F{t<;K?YU@jI3!M-Hzk6u7Hw62v_wJUEP*RHJ9 zXn~isYwK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^yMA6rF!Fm5+k5BlkBQIm7YbPt z(w}KkI%8E9AoFv$uzu!mc0Q6h-ui#(;cJRx$%yMgcjED59j;4oj?!&kUdQtJNv}Q2 zjIRQ>(Z%QY!PRz9LSj2d+K^fQCn&(V!}asJmCwU2)A-^2i-~zWj<|kB6Xx^zx+Pjj zwIRusn9ukwl)3prCF2eU6%rYk#~1{%o3E&jr9ymer}KhA$Uab58p)>YXATM literal 0 HcmV?d00001 diff --git a/APL1.1/TP01/intermediaire.i b/APL1.1/TP01/intermediaire.i new file mode 100644 index 0000000..03f0589 --- /dev/null +++ b/APL1.1/TP01/intermediaire.i @@ -0,0 +1,1822 @@ +# 0 "salut.c" +# 0 "" +# 0 "" +# 1 "/usr/include/stdc-predef.h" 1 3 4 +# 0 "" 2 +# 1 "salut.c" + + +# 1 "/usr/include/stdlib.h" 1 3 4 +# 25 "/usr/include/stdlib.h" 3 4 +# 1 "/usr/include/bits/libc-header-start.h" 1 3 4 +# 33 "/usr/include/bits/libc-header-start.h" 3 4 +# 1 "/usr/include/features.h" 1 3 4 +# 473 "/usr/include/features.h" 3 4 +# 1 "/usr/include/sys/cdefs.h" 1 3 4 +# 462 "/usr/include/sys/cdefs.h" 3 4 +# 1 "/usr/include/bits/wordsize.h" 1 3 4 +# 463 "/usr/include/sys/cdefs.h" 2 3 4 +# 1 "/usr/include/bits/long-double.h" 1 3 4 +# 464 "/usr/include/sys/cdefs.h" 2 3 4 +# 474 "/usr/include/features.h" 2 3 4 +# 497 "/usr/include/features.h" 3 4 +# 1 "/usr/include/gnu/stubs.h" 1 3 4 +# 10 "/usr/include/gnu/stubs.h" 3 4 +# 1 "/usr/include/gnu/stubs-64.h" 1 3 4 +# 11 "/usr/include/gnu/stubs.h" 2 3 4 +# 498 "/usr/include/features.h" 2 3 4 +# 34 "/usr/include/bits/libc-header-start.h" 2 3 4 +# 26 "/usr/include/stdlib.h" 2 3 4 + + + + + +# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/stddef.h" 1 3 4 +# 209 "/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/stddef.h" 3 4 + +# 209 "/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/stddef.h" 3 4 +typedef long unsigned int size_t; +# 321 "/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/stddef.h" 3 4 +typedef int wchar_t; +# 32 "/usr/include/stdlib.h" 2 3 4 + + + + + + + +# 1 "/usr/include/bits/waitflags.h" 1 3 4 +# 40 "/usr/include/stdlib.h" 2 3 4 +# 1 "/usr/include/bits/waitstatus.h" 1 3 4 +# 41 "/usr/include/stdlib.h" 2 3 4 +# 55 "/usr/include/stdlib.h" 3 4 +# 1 "/usr/include/bits/floatn.h" 1 3 4 +# 119 "/usr/include/bits/floatn.h" 3 4 +# 1 "/usr/include/bits/floatn-common.h" 1 3 4 +# 24 "/usr/include/bits/floatn-common.h" 3 4 +# 1 "/usr/include/bits/long-double.h" 1 3 4 +# 25 "/usr/include/bits/floatn-common.h" 2 3 4 +# 120 "/usr/include/bits/floatn.h" 2 3 4 +# 56 "/usr/include/stdlib.h" 2 3 4 + + +typedef struct + { + int quot; + int rem; + } div_t; + + + +typedef struct + { + long int quot; + long int rem; + } ldiv_t; + + + + + +__extension__ typedef struct + { + long long int quot; + long long int rem; + } lldiv_t; +# 97 "/usr/include/stdlib.h" 3 4 +extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; + + + +extern double atof (const char *__nptr) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; + +extern int atoi (const char *__nptr) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; + +extern long int atol (const char *__nptr) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; + + + +__extension__ extern long long int atoll (const char *__nptr) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; + + + +extern double strtod (const char *__restrict __nptr, + char **__restrict __endptr) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + + +extern float strtof (const char *__restrict __nptr, + char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + +extern long double strtold (const char *__restrict __nptr, + char **__restrict __endptr) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); +# 176 "/usr/include/stdlib.h" 3 4 +extern long int strtol (const char *__restrict __nptr, + char **__restrict __endptr, int __base) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + +extern unsigned long int strtoul (const char *__restrict __nptr, + char **__restrict __endptr, int __base) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + + +__extension__ +extern long long int strtoq (const char *__restrict __nptr, + char **__restrict __endptr, int __base) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + +__extension__ +extern unsigned long long int strtouq (const char *__restrict __nptr, + char **__restrict __endptr, int __base) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + + + +__extension__ +extern long long int strtoll (const char *__restrict __nptr, + char **__restrict __endptr, int __base) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + +__extension__ +extern unsigned long long int strtoull (const char *__restrict __nptr, + char **__restrict __endptr, int __base) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); +# 385 "/usr/include/stdlib.h" 3 4 +extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; + + +extern long int a64l (const char *__s) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; + + + + +# 1 "/usr/include/sys/types.h" 1 3 4 +# 27 "/usr/include/sys/types.h" 3 4 + + +# 1 "/usr/include/bits/types.h" 1 3 4 +# 27 "/usr/include/bits/types.h" 3 4 +# 1 "/usr/include/bits/wordsize.h" 1 3 4 +# 28 "/usr/include/bits/types.h" 2 3 4 +# 1 "/usr/include/bits/timesize.h" 1 3 4 +# 29 "/usr/include/bits/types.h" 2 3 4 + + +typedef unsigned char __u_char; +typedef unsigned short int __u_short; +typedef unsigned int __u_int; +typedef unsigned long int __u_long; + + +typedef signed char __int8_t; +typedef unsigned char __uint8_t; +typedef signed short int __int16_t; +typedef unsigned short int __uint16_t; +typedef signed int __int32_t; +typedef unsigned int __uint32_t; + +typedef signed long int __int64_t; +typedef unsigned long int __uint64_t; + + + + + + +typedef __int8_t __int_least8_t; +typedef __uint8_t __uint_least8_t; +typedef __int16_t __int_least16_t; +typedef __uint16_t __uint_least16_t; +typedef __int32_t __int_least32_t; +typedef __uint32_t __uint_least32_t; +typedef __int64_t __int_least64_t; +typedef __uint64_t __uint_least64_t; + + + +typedef long int __quad_t; +typedef unsigned long int __u_quad_t; + + + + + + + +typedef long int __intmax_t; +typedef unsigned long int __uintmax_t; +# 141 "/usr/include/bits/types.h" 3 4 +# 1 "/usr/include/bits/typesizes.h" 1 3 4 +# 142 "/usr/include/bits/types.h" 2 3 4 +# 1 "/usr/include/bits/time64.h" 1 3 4 +# 143 "/usr/include/bits/types.h" 2 3 4 + + +typedef unsigned long int __dev_t; +typedef unsigned int __uid_t; +typedef unsigned int __gid_t; +typedef unsigned long int __ino_t; +typedef unsigned long int __ino64_t; +typedef unsigned int __mode_t; +typedef unsigned long int __nlink_t; +typedef long int __off_t; +typedef long int __off64_t; +typedef int __pid_t; +typedef struct { int __val[2]; } __fsid_t; +typedef long int __clock_t; +typedef unsigned long int __rlim_t; +typedef unsigned long int __rlim64_t; +typedef unsigned int __id_t; +typedef long int __time_t; +typedef unsigned int __useconds_t; +typedef long int __suseconds_t; +typedef long int __suseconds64_t; + +typedef int __daddr_t; +typedef int __key_t; + + +typedef int __clockid_t; + + +typedef void * __timer_t; + + +typedef long int __blksize_t; + + + + +typedef long int __blkcnt_t; +typedef long int __blkcnt64_t; + + +typedef unsigned long int __fsblkcnt_t; +typedef unsigned long int __fsblkcnt64_t; + + +typedef unsigned long int __fsfilcnt_t; +typedef unsigned long int __fsfilcnt64_t; + + +typedef long int __fsword_t; + +typedef long int __ssize_t; + + +typedef long int __syscall_slong_t; + +typedef unsigned long int __syscall_ulong_t; + + + +typedef __off64_t __loff_t; +typedef char *__caddr_t; + + +typedef long int __intptr_t; + + +typedef unsigned int __socklen_t; + + + + +typedef int __sig_atomic_t; +# 30 "/usr/include/sys/types.h" 2 3 4 + + + +typedef __u_char u_char; +typedef __u_short u_short; +typedef __u_int u_int; +typedef __u_long u_long; +typedef __quad_t quad_t; +typedef __u_quad_t u_quad_t; +typedef __fsid_t fsid_t; + + +typedef __loff_t loff_t; + + + + +typedef __ino_t ino_t; +# 59 "/usr/include/sys/types.h" 3 4 +typedef __dev_t dev_t; + + + + +typedef __gid_t gid_t; + + + + +typedef __mode_t mode_t; + + + + +typedef __nlink_t nlink_t; + + + + +typedef __uid_t uid_t; + + + + + +typedef __off_t off_t; +# 97 "/usr/include/sys/types.h" 3 4 +typedef __pid_t pid_t; + + + + + +typedef __id_t id_t; + + + + +typedef __ssize_t ssize_t; + + + + + +typedef __daddr_t daddr_t; +typedef __caddr_t caddr_t; + + + + + +typedef __key_t key_t; + + + + +# 1 "/usr/include/bits/types/clock_t.h" 1 3 4 + + + + + + +typedef __clock_t clock_t; +# 127 "/usr/include/sys/types.h" 2 3 4 + +# 1 "/usr/include/bits/types/clockid_t.h" 1 3 4 + + + + + + +typedef __clockid_t clockid_t; +# 129 "/usr/include/sys/types.h" 2 3 4 +# 1 "/usr/include/bits/types/time_t.h" 1 3 4 + + + + + + +typedef __time_t time_t; +# 130 "/usr/include/sys/types.h" 2 3 4 +# 1 "/usr/include/bits/types/timer_t.h" 1 3 4 + + + + + + +typedef __timer_t timer_t; +# 131 "/usr/include/sys/types.h" 2 3 4 +# 144 "/usr/include/sys/types.h" 3 4 +# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/stddef.h" 1 3 4 +# 145 "/usr/include/sys/types.h" 2 3 4 + + + +typedef unsigned long int ulong; +typedef unsigned short int ushort; +typedef unsigned int uint; + + + + +# 1 "/usr/include/bits/stdint-intn.h" 1 3 4 +# 24 "/usr/include/bits/stdint-intn.h" 3 4 +typedef __int8_t int8_t; +typedef __int16_t int16_t; +typedef __int32_t int32_t; +typedef __int64_t int64_t; +# 156 "/usr/include/sys/types.h" 2 3 4 + + +typedef __uint8_t u_int8_t; +typedef __uint16_t u_int16_t; +typedef __uint32_t u_int32_t; +typedef __uint64_t u_int64_t; + + +typedef int register_t __attribute__ ((__mode__ (__word__))); +# 176 "/usr/include/sys/types.h" 3 4 +# 1 "/usr/include/endian.h" 1 3 4 +# 24 "/usr/include/endian.h" 3 4 +# 1 "/usr/include/bits/endian.h" 1 3 4 +# 35 "/usr/include/bits/endian.h" 3 4 +# 1 "/usr/include/bits/endianness.h" 1 3 4 +# 36 "/usr/include/bits/endian.h" 2 3 4 +# 25 "/usr/include/endian.h" 2 3 4 +# 35 "/usr/include/endian.h" 3 4 +# 1 "/usr/include/bits/byteswap.h" 1 3 4 +# 33 "/usr/include/bits/byteswap.h" 3 4 +static __inline __uint16_t +__bswap_16 (__uint16_t __bsx) +{ + + return __builtin_bswap16 (__bsx); + + + +} + + + + + + +static __inline __uint32_t +__bswap_32 (__uint32_t __bsx) +{ + + return __builtin_bswap32 (__bsx); + + + +} +# 69 "/usr/include/bits/byteswap.h" 3 4 +__extension__ static __inline __uint64_t +__bswap_64 (__uint64_t __bsx) +{ + + return __builtin_bswap64 (__bsx); + + + +} +# 36 "/usr/include/endian.h" 2 3 4 +# 1 "/usr/include/bits/uintn-identity.h" 1 3 4 +# 32 "/usr/include/bits/uintn-identity.h" 3 4 +static __inline __uint16_t +__uint16_identity (__uint16_t __x) +{ + return __x; +} + +static __inline __uint32_t +__uint32_identity (__uint32_t __x) +{ + return __x; +} + +static __inline __uint64_t +__uint64_identity (__uint64_t __x) +{ + return __x; +} +# 37 "/usr/include/endian.h" 2 3 4 +# 177 "/usr/include/sys/types.h" 2 3 4 + + +# 1 "/usr/include/sys/select.h" 1 3 4 +# 30 "/usr/include/sys/select.h" 3 4 +# 1 "/usr/include/bits/select.h" 1 3 4 +# 31 "/usr/include/sys/select.h" 2 3 4 + + +# 1 "/usr/include/bits/types/sigset_t.h" 1 3 4 + + + +# 1 "/usr/include/bits/types/__sigset_t.h" 1 3 4 + + + + +typedef struct +{ + unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; +} __sigset_t; +# 5 "/usr/include/bits/types/sigset_t.h" 2 3 4 + + +typedef __sigset_t sigset_t; +# 34 "/usr/include/sys/select.h" 2 3 4 + + + +# 1 "/usr/include/bits/types/struct_timeval.h" 1 3 4 + + + + + + + +struct timeval +{ + __time_t tv_sec; + __suseconds_t tv_usec; +}; +# 38 "/usr/include/sys/select.h" 2 3 4 + +# 1 "/usr/include/bits/types/struct_timespec.h" 1 3 4 +# 10 "/usr/include/bits/types/struct_timespec.h" 3 4 +struct timespec +{ + __time_t tv_sec; + + + + __syscall_slong_t tv_nsec; +# 26 "/usr/include/bits/types/struct_timespec.h" 3 4 +}; +# 40 "/usr/include/sys/select.h" 2 3 4 + + + +typedef __suseconds_t suseconds_t; + + + + + +typedef long int __fd_mask; +# 59 "/usr/include/sys/select.h" 3 4 +typedef struct + { + + + + + + + __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; + + + } fd_set; + + + + + + +typedef __fd_mask fd_mask; +# 91 "/usr/include/sys/select.h" 3 4 + +# 101 "/usr/include/sys/select.h" 3 4 +extern int select (int __nfds, fd_set *__restrict __readfds, + fd_set *__restrict __writefds, + fd_set *__restrict __exceptfds, + struct timeval *__restrict __timeout); +# 113 "/usr/include/sys/select.h" 3 4 +extern int pselect (int __nfds, fd_set *__restrict __readfds, + fd_set *__restrict __writefds, + fd_set *__restrict __exceptfds, + const struct timespec *__restrict __timeout, + const __sigset_t *__restrict __sigmask); +# 126 "/usr/include/sys/select.h" 3 4 + +# 180 "/usr/include/sys/types.h" 2 3 4 + + + + + +typedef __blksize_t blksize_t; + + + + + + +typedef __blkcnt_t blkcnt_t; + + + +typedef __fsblkcnt_t fsblkcnt_t; + + + +typedef __fsfilcnt_t fsfilcnt_t; +# 227 "/usr/include/sys/types.h" 3 4 +# 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 +# 23 "/usr/include/bits/pthreadtypes.h" 3 4 +# 1 "/usr/include/bits/thread-shared-types.h" 1 3 4 +# 44 "/usr/include/bits/thread-shared-types.h" 3 4 +# 1 "/usr/include/bits/pthreadtypes-arch.h" 1 3 4 +# 21 "/usr/include/bits/pthreadtypes-arch.h" 3 4 +# 1 "/usr/include/bits/wordsize.h" 1 3 4 +# 22 "/usr/include/bits/pthreadtypes-arch.h" 2 3 4 +# 45 "/usr/include/bits/thread-shared-types.h" 2 3 4 + + + + +typedef struct __pthread_internal_list +{ + struct __pthread_internal_list *__prev; + struct __pthread_internal_list *__next; +} __pthread_list_t; + +typedef struct __pthread_internal_slist +{ + struct __pthread_internal_slist *__next; +} __pthread_slist_t; +# 74 "/usr/include/bits/thread-shared-types.h" 3 4 +# 1 "/usr/include/bits/struct_mutex.h" 1 3 4 +# 22 "/usr/include/bits/struct_mutex.h" 3 4 +struct __pthread_mutex_s +{ + int __lock; + unsigned int __count; + int __owner; + + unsigned int __nusers; + + + + int __kind; + + short __spins; + short __elision; + __pthread_list_t __list; +# 53 "/usr/include/bits/struct_mutex.h" 3 4 +}; +# 75 "/usr/include/bits/thread-shared-types.h" 2 3 4 +# 87 "/usr/include/bits/thread-shared-types.h" 3 4 +# 1 "/usr/include/bits/struct_rwlock.h" 1 3 4 +# 23 "/usr/include/bits/struct_rwlock.h" 3 4 +struct __pthread_rwlock_arch_t +{ + unsigned int __readers; + unsigned int __writers; + unsigned int __wrphase_futex; + unsigned int __writers_futex; + unsigned int __pad3; + unsigned int __pad4; + + int __cur_writer; + int __shared; + signed char __rwelision; + + + + + unsigned char __pad1[7]; + + + unsigned long int __pad2; + + + unsigned int __flags; +# 55 "/usr/include/bits/struct_rwlock.h" 3 4 +}; +# 88 "/usr/include/bits/thread-shared-types.h" 2 3 4 + + + + +struct __pthread_cond_s +{ + __extension__ union + { + __extension__ unsigned long long int __wseq; + struct + { + unsigned int __low; + unsigned int __high; + } __wseq32; + }; + __extension__ union + { + __extension__ unsigned long long int __g1_start; + struct + { + unsigned int __low; + unsigned int __high; + } __g1_start32; + }; + unsigned int __g_refs[2] ; + unsigned int __g_size[2]; + unsigned int __g1_orig_size; + unsigned int __wrefs; + unsigned int __g_signals[2]; +}; + +typedef unsigned int __tss_t; +typedef unsigned long int __thrd_t; + +typedef struct +{ + int __data ; +} __once_flag; +# 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 + + + +typedef unsigned long int pthread_t; + + + + +typedef union +{ + char __size[4]; + int __align; +} pthread_mutexattr_t; + + + + +typedef union +{ + char __size[4]; + int __align; +} pthread_condattr_t; + + + +typedef unsigned int pthread_key_t; + + + +typedef int pthread_once_t; + + +union pthread_attr_t +{ + char __size[56]; + long int __align; +}; + +typedef union pthread_attr_t pthread_attr_t; + + + + +typedef union +{ + struct __pthread_mutex_s __data; + char __size[40]; + long int __align; +} pthread_mutex_t; + + +typedef union +{ + struct __pthread_cond_s __data; + char __size[48]; + __extension__ long long int __align; +} pthread_cond_t; + + + + + +typedef union +{ + struct __pthread_rwlock_arch_t __data; + char __size[56]; + long int __align; +} pthread_rwlock_t; + +typedef union +{ + char __size[8]; + long int __align; +} pthread_rwlockattr_t; + + + + + +typedef volatile int pthread_spinlock_t; + + + + +typedef union +{ + char __size[32]; + long int __align; +} pthread_barrier_t; + +typedef union +{ + char __size[4]; + int __align; +} pthread_barrierattr_t; +# 228 "/usr/include/sys/types.h" 2 3 4 + + + +# 395 "/usr/include/stdlib.h" 2 3 4 + + + + + + +extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); + + +extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); + + + + + +extern char *initstate (unsigned int __seed, char *__statebuf, + size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); + + + +extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + + + + + + +struct random_data + { + int32_t *fptr; + int32_t *rptr; + int32_t *state; + int rand_type; + int rand_deg; + int rand_sep; + int32_t *end_ptr; + }; + +extern int random_r (struct random_data *__restrict __buf, + int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); + +extern int srandom_r (unsigned int __seed, struct random_data *__buf) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); + +extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, + size_t __statelen, + struct random_data *__restrict __buf) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); + +extern int setstate_r (char *__restrict __statebuf, + struct random_data *__restrict __buf) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); + + + + + +extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); + +extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); + + + +extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); + + + + + + + +extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); +extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + +extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); +extern long int nrand48 (unsigned short int __xsubi[3]) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + +extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); +extern long int jrand48 (unsigned short int __xsubi[3]) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + +extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); +extern unsigned short int *seed48 (unsigned short int __seed16v[3]) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); +extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + + + + +struct drand48_data + { + unsigned short int __x[3]; + unsigned short int __old_x[3]; + unsigned short int __c; + unsigned short int __init; + __extension__ unsigned long long int __a; + + }; + + +extern int drand48_r (struct drand48_data *__restrict __buffer, + double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); +extern int erand48_r (unsigned short int __xsubi[3], + struct drand48_data *__restrict __buffer, + double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); + + +extern int lrand48_r (struct drand48_data *__restrict __buffer, + long int *__restrict __result) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); +extern int nrand48_r (unsigned short int __xsubi[3], + struct drand48_data *__restrict __buffer, + long int *__restrict __result) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); + + +extern int mrand48_r (struct drand48_data *__restrict __buffer, + long int *__restrict __result) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); +extern int jrand48_r (unsigned short int __xsubi[3], + struct drand48_data *__restrict __buffer, + long int *__restrict __result) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); + + +extern int srand48_r (long int __seedval, struct drand48_data *__buffer) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); + +extern int seed48_r (unsigned short int __seed16v[3], + struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); + +extern int lcong48_r (unsigned short int __param[7], + struct drand48_data *__buffer) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); + + + + +extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) + __attribute__ ((__alloc_size__ (1))) ; + +extern void *calloc (size_t __nmemb, size_t __size) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1, 2))) ; + + + + + + +extern void *realloc (void *__ptr, size_t __size) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__alloc_size__ (2))); + + + + + + + +extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) + __attribute__ ((__alloc_size__ (2, 3))); + + + +extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); + + +# 1 "/usr/include/alloca.h" 1 3 4 +# 24 "/usr/include/alloca.h" 3 4 +# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/stddef.h" 1 3 4 +# 25 "/usr/include/alloca.h" 2 3 4 + + + + + + + +extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); + + + + + + +# 569 "/usr/include/stdlib.h" 2 3 4 + + + + + +extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) + __attribute__ ((__alloc_size__ (1))) ; + + + + +extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; + + + + +extern void *aligned_alloc (size_t __alignment, size_t __size) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ; + + + +extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); + + + +extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + + + + + + +extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + + + + + +extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + + + + +extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); + + + + + +extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); + + + + + +extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); + + + + +extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; +# 647 "/usr/include/stdlib.h" 3 4 +extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + + + + +extern int setenv (const char *__name, const char *__value, int __replace) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); + + +extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); + + + + + + +extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); +# 675 "/usr/include/stdlib.h" 3 4 +extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); +# 688 "/usr/include/stdlib.h" 3 4 +extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; +# 710 "/usr/include/stdlib.h" 3 4 +extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; +# 731 "/usr/include/stdlib.h" 3 4 +extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; +# 784 "/usr/include/stdlib.h" 3 4 +extern int system (const char *__command) ; +# 800 "/usr/include/stdlib.h" 3 4 +extern char *realpath (const char *__restrict __name, + char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; + + + + + + +typedef int (*__compar_fn_t) (const void *, const void *); +# 820 "/usr/include/stdlib.h" 3 4 +extern void *bsearch (const void *__key, const void *__base, + size_t __nmemb, size_t __size, __compar_fn_t __compar) + __attribute__ ((__nonnull__ (1, 2, 5))) ; + + + + + + + +extern void qsort (void *__base, size_t __nmemb, size_t __size, + __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); +# 840 "/usr/include/stdlib.h" 3 4 +extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; +extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; + + +__extension__ extern long long int llabs (long long int __x) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; + + + + + + +extern div_t div (int __numer, int __denom) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; +extern ldiv_t ldiv (long int __numer, long int __denom) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; + + +__extension__ extern lldiv_t lldiv (long long int __numer, + long long int __denom) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; +# 872 "/usr/include/stdlib.h" 3 4 +extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, + int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; + + + + +extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, + int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; + + + + +extern char *gcvt (double __value, int __ndigit, char *__buf) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; + + + + +extern char *qecvt (long double __value, int __ndigit, + int *__restrict __decpt, int *__restrict __sign) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; +extern char *qfcvt (long double __value, int __ndigit, + int *__restrict __decpt, int *__restrict __sign) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; +extern char *qgcvt (long double __value, int __ndigit, char *__buf) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; + + + + +extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, + int *__restrict __sign, char *__restrict __buf, + size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); +extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, + int *__restrict __sign, char *__restrict __buf, + size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); + +extern int qecvt_r (long double __value, int __ndigit, + int *__restrict __decpt, int *__restrict __sign, + char *__restrict __buf, size_t __len) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); +extern int qfcvt_r (long double __value, int __ndigit, + int *__restrict __decpt, int *__restrict __sign, + char *__restrict __buf, size_t __len) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); + + + + + +extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); + + +extern int mbtowc (wchar_t *__restrict __pwc, + const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); + + +extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)); + + + +extern size_t mbstowcs (wchar_t *__restrict __pwcs, + const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) + __attribute__ ((__access__ (__read_only__, 2))); + +extern size_t wcstombs (char *__restrict __s, + const wchar_t *__restrict __pwcs, size_t __n) + __attribute__ ((__nothrow__ , __leaf__)) + __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2))); + + + + + + +extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; +# 958 "/usr/include/stdlib.h" 3 4 +extern int getsubopt (char **__restrict __optionp, + char *const *__restrict __tokens, + char **__restrict __valuep) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; +# 1004 "/usr/include/stdlib.h" 3 4 +extern int getloadavg (double __loadavg[], int __nelem) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); +# 1014 "/usr/include/stdlib.h" 3 4 +# 1 "/usr/include/bits/stdlib-float.h" 1 3 4 +# 1015 "/usr/include/stdlib.h" 2 3 4 +# 1026 "/usr/include/stdlib.h" 3 4 + +# 4 "salut.c" 2 +# 1 "/usr/include/stdio.h" 1 3 4 +# 27 "/usr/include/stdio.h" 3 4 +# 1 "/usr/include/bits/libc-header-start.h" 1 3 4 +# 28 "/usr/include/stdio.h" 2 3 4 + + + + + +# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/stddef.h" 1 3 4 +# 34 "/usr/include/stdio.h" 2 3 4 + + +# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/stdarg.h" 1 3 4 +# 40 "/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/stdarg.h" 3 4 +typedef __builtin_va_list __gnuc_va_list; +# 37 "/usr/include/stdio.h" 2 3 4 + + +# 1 "/usr/include/bits/types/__fpos_t.h" 1 3 4 + + + + +# 1 "/usr/include/bits/types/__mbstate_t.h" 1 3 4 +# 13 "/usr/include/bits/types/__mbstate_t.h" 3 4 +typedef struct +{ + int __count; + union + { + unsigned int __wch; + char __wchb[4]; + } __value; +} __mbstate_t; +# 6 "/usr/include/bits/types/__fpos_t.h" 2 3 4 + + + + +typedef struct _G_fpos_t +{ + __off_t __pos; + __mbstate_t __state; +} __fpos_t; +# 40 "/usr/include/stdio.h" 2 3 4 +# 1 "/usr/include/bits/types/__fpos64_t.h" 1 3 4 +# 10 "/usr/include/bits/types/__fpos64_t.h" 3 4 +typedef struct _G_fpos64_t +{ + __off64_t __pos; + __mbstate_t __state; +} __fpos64_t; +# 41 "/usr/include/stdio.h" 2 3 4 +# 1 "/usr/include/bits/types/__FILE.h" 1 3 4 + + + +struct _IO_FILE; +typedef struct _IO_FILE __FILE; +# 42 "/usr/include/stdio.h" 2 3 4 +# 1 "/usr/include/bits/types/FILE.h" 1 3 4 + + + +struct _IO_FILE; + + +typedef struct _IO_FILE FILE; +# 43 "/usr/include/stdio.h" 2 3 4 +# 1 "/usr/include/bits/types/struct_FILE.h" 1 3 4 +# 35 "/usr/include/bits/types/struct_FILE.h" 3 4 +struct _IO_FILE; +struct _IO_marker; +struct _IO_codecvt; +struct _IO_wide_data; + + + + +typedef void _IO_lock_t; + + + + + +struct _IO_FILE +{ + int _flags; + + + char *_IO_read_ptr; + char *_IO_read_end; + char *_IO_read_base; + char *_IO_write_base; + char *_IO_write_ptr; + char *_IO_write_end; + char *_IO_buf_base; + char *_IO_buf_end; + + + char *_IO_save_base; + char *_IO_backup_base; + char *_IO_save_end; + + struct _IO_marker *_markers; + + struct _IO_FILE *_chain; + + int _fileno; + int _flags2; + __off_t _old_offset; + + + unsigned short _cur_column; + signed char _vtable_offset; + char _shortbuf[1]; + + _IO_lock_t *_lock; + + + + + + + + __off64_t _offset; + + struct _IO_codecvt *_codecvt; + struct _IO_wide_data *_wide_data; + struct _IO_FILE *_freeres_list; + void *_freeres_buf; + size_t __pad5; + int _mode; + + char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; +}; +# 44 "/usr/include/stdio.h" 2 3 4 +# 52 "/usr/include/stdio.h" 3 4 +typedef __gnuc_va_list va_list; +# 84 "/usr/include/stdio.h" 3 4 +typedef __fpos_t fpos_t; +# 133 "/usr/include/stdio.h" 3 4 +# 1 "/usr/include/bits/stdio_lim.h" 1 3 4 +# 134 "/usr/include/stdio.h" 2 3 4 + + + +extern FILE *stdin; +extern FILE *stdout; +extern FILE *stderr; + + + + + + +extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); + +extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); + + + +extern int renameat (int __oldfd, const char *__old, int __newfd, + const char *__new) __attribute__ ((__nothrow__ , __leaf__)); +# 173 "/usr/include/stdio.h" 3 4 +extern FILE *tmpfile (void) ; +# 187 "/usr/include/stdio.h" 3 4 +extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; + + + + +extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; +# 204 "/usr/include/stdio.h" 3 4 +extern char *tempnam (const char *__dir, const char *__pfx) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; + + + + + + + +extern int fclose (FILE *__stream); + + + + +extern int fflush (FILE *__stream); +# 227 "/usr/include/stdio.h" 3 4 +extern int fflush_unlocked (FILE *__stream); +# 246 "/usr/include/stdio.h" 3 4 +extern FILE *fopen (const char *__restrict __filename, + const char *__restrict __modes) ; + + + + +extern FILE *freopen (const char *__restrict __filename, + const char *__restrict __modes, + FILE *__restrict __stream) ; +# 279 "/usr/include/stdio.h" 3 4 +extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; +# 292 "/usr/include/stdio.h" 3 4 +extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) + __attribute__ ((__nothrow__ , __leaf__)) ; + + + + +extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ; + + + + + +extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); + + + +extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, + int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); + + + + +extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, + size_t __size) __attribute__ ((__nothrow__ , __leaf__)); + + +extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); + + + + + + + +extern int fprintf (FILE *__restrict __stream, + const char *__restrict __format, ...); + + + + +extern int printf (const char *__restrict __format, ...); + +extern int sprintf (char *__restrict __s, + const char *__restrict __format, ...) __attribute__ ((__nothrow__)); + + + + + +extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, + __gnuc_va_list __arg); + + + + +extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); + +extern int vsprintf (char *__restrict __s, const char *__restrict __format, + __gnuc_va_list __arg) __attribute__ ((__nothrow__)); + + + +extern int snprintf (char *__restrict __s, size_t __maxlen, + const char *__restrict __format, ...) + __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); + +extern int vsnprintf (char *__restrict __s, size_t __maxlen, + const char *__restrict __format, __gnuc_va_list __arg) + __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); +# 379 "/usr/include/stdio.h" 3 4 +extern int vdprintf (int __fd, const char *__restrict __fmt, + __gnuc_va_list __arg) + __attribute__ ((__format__ (__printf__, 2, 0))); +extern int dprintf (int __fd, const char *__restrict __fmt, ...) + __attribute__ ((__format__ (__printf__, 2, 3))); + + + + + + + +extern int fscanf (FILE *__restrict __stream, + const char *__restrict __format, ...) ; + + + + +extern int scanf (const char *__restrict __format, ...) ; + +extern int sscanf (const char *__restrict __s, + const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); +# 410 "/usr/include/stdio.h" 3 4 +extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") + + ; +extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") + ; +extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__)) + + ; +# 435 "/usr/include/stdio.h" 3 4 +extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, + __gnuc_va_list __arg) + __attribute__ ((__format__ (__scanf__, 2, 0))) ; + + + + + +extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) + __attribute__ ((__format__ (__scanf__, 1, 0))) ; + + +extern int vsscanf (const char *__restrict __s, + const char *__restrict __format, __gnuc_va_list __arg) + __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); + + + + + +extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") + + + + __attribute__ ((__format__ (__scanf__, 2, 0))) ; +extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") + + __attribute__ ((__format__ (__scanf__, 1, 0))) ; +extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) + + + + __attribute__ ((__format__ (__scanf__, 2, 0))); +# 489 "/usr/include/stdio.h" 3 4 +extern int fgetc (FILE *__stream); +extern int getc (FILE *__stream); + + + + + +extern int getchar (void); + + + + + + +extern int getc_unlocked (FILE *__stream); +extern int getchar_unlocked (void); +# 514 "/usr/include/stdio.h" 3 4 +extern int fgetc_unlocked (FILE *__stream); +# 525 "/usr/include/stdio.h" 3 4 +extern int fputc (int __c, FILE *__stream); +extern int putc (int __c, FILE *__stream); + + + + + +extern int putchar (int __c); +# 541 "/usr/include/stdio.h" 3 4 +extern int fputc_unlocked (int __c, FILE *__stream); + + + + + + + +extern int putc_unlocked (int __c, FILE *__stream); +extern int putchar_unlocked (int __c); + + + + + + +extern int getw (FILE *__stream); + + +extern int putw (int __w, FILE *__stream); + + + + + + + +extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) + __attribute__ ((__access__ (__write_only__, 1, 2))); +# 608 "/usr/include/stdio.h" 3 4 +extern __ssize_t __getdelim (char **__restrict __lineptr, + size_t *__restrict __n, int __delimiter, + FILE *__restrict __stream) ; +extern __ssize_t getdelim (char **__restrict __lineptr, + size_t *__restrict __n, int __delimiter, + FILE *__restrict __stream) ; + + + + + + + +extern __ssize_t getline (char **__restrict __lineptr, + size_t *__restrict __n, + FILE *__restrict __stream) ; + + + + + + + +extern int fputs (const char *__restrict __s, FILE *__restrict __stream); + + + + + +extern int puts (const char *__s); + + + + + + +extern int ungetc (int __c, FILE *__stream); + + + + + + +extern size_t fread (void *__restrict __ptr, size_t __size, + size_t __n, FILE *__restrict __stream) ; + + + + +extern size_t fwrite (const void *__restrict __ptr, size_t __size, + size_t __n, FILE *__restrict __s); +# 678 "/usr/include/stdio.h" 3 4 +extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, + size_t __n, FILE *__restrict __stream) ; +extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, + size_t __n, FILE *__restrict __stream); + + + + + + + +extern int fseek (FILE *__stream, long int __off, int __whence); + + + + +extern long int ftell (FILE *__stream) ; + + + + +extern void rewind (FILE *__stream); +# 712 "/usr/include/stdio.h" 3 4 +extern int fseeko (FILE *__stream, __off_t __off, int __whence); + + + + +extern __off_t ftello (FILE *__stream) ; +# 736 "/usr/include/stdio.h" 3 4 +extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); + + + + +extern int fsetpos (FILE *__stream, const fpos_t *__pos); +# 762 "/usr/include/stdio.h" 3 4 +extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); + +extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; + +extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; + + + +extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); +extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; +extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; + + + + + + + +extern void perror (const char *__s); + + + + +extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; + + + + +extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; +# 799 "/usr/include/stdio.h" 3 4 +extern FILE *popen (const char *__command, const char *__modes) ; + + + + + +extern int pclose (FILE *__stream); + + + + + +extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); +# 839 "/usr/include/stdio.h" 3 4 +extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); + + + +extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; + + +extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); +# 857 "/usr/include/stdio.h" 3 4 +extern int __uflow (FILE *); +extern int __overflow (FILE *, int); +# 874 "/usr/include/stdio.h" 3 4 + +# 5 "salut.c" 2 + + +# 6 "salut.c" +int main(void) { + printf("Hello World!\n"); + return +# 8 "salut.c" 3 4 + 0 +# 8 "salut.c" + ; +} diff --git a/APL1.1/TP01/salut.c b/APL1.1/TP01/salut.c new file mode 100644 index 0000000..0d8c4f4 --- /dev/null +++ b/APL1.1/TP01/salut.c @@ -0,0 +1,10 @@ +/* premier programme */ + +#include +#include + +int main(void) { + printf("Hello World!\n"); + return EXIT_SUCCESS; +} + diff --git a/APL1.1/TP02/pascal.c b/APL1.1/TP02/pascal.c new file mode 100644 index 0000000..1dcb746 --- /dev/null +++ b/APL1.1/TP02/pascal.c @@ -0,0 +1,14 @@ +#include + +int main(){ + unsigned char t[30][30]; + int k,n; + for(n=0;n<30;n++){ + for(k=0;k<=n;k++){ + if (k==0||k==n) t[n][k] = 1; + else t[n][k] = (t[n-1][k] + t[n-1][k-1])%2; + putchar(t[n][k] ? '*':' '); + } + putchar('\n'); + } +} diff --git a/APL1.1/TP03/abientot b/APL1.1/TP03/abientot new file mode 100755 index 0000000000000000000000000000000000000000..0522b002ecdc4f58da7dd6ddf237399cb0d382cf GIT binary patch literal 16088 zcmeHOeQX>@6`woDiIdjnOB$DJlGfXjf)nA(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V?d00001 diff --git a/APL1.1/TP03/abientot.c b/APL1.1/TP03/abientot.c new file mode 100644 index 0000000..ceedf0c --- /dev/null +++ b/APL1.1/TP03/abientot.c @@ -0,0 +1,10 @@ +/* premier programme */ + +#include +#include + +int main(void) { + printf("A bientot !\n"); + return EXIT_SUCCESS; +} + diff --git a/APL1.1/TP03/arithmetique b/APL1.1/TP03/arithmetique new file mode 100755 index 0000000000000000000000000000000000000000..a4a416cca2e485563d5991b0c4e1ac0ff23d622d GIT binary patch literal 16088 zcmeHOeQX>@6`woDiPOesCr!#FX_F-+l~dIhCvl9^$Yjsf=-aP({0_ zhu;n2cCi%XB~s_wRTseOmYHxR){(vj5P4CoRKeR^wP55PA|h|G62%TdVH9*8$g4#I z$$s2I{bXc&xjhBRP!#!F#s|;=3Zs{YU72f^W--@Mi5j(ch>&?GBJV2kt`d)NmfB-78koFD{uTPO-gdba7wP57-?gbuQ zTJpFt@MS(s?Jag4qLhC|O0U?Kwg%c-x203fX)9YCYaVNFYi?_e6>_m1vSI933miD6 z_8sUK;geztb<7WmP=y>O8C+yR-_>wn+L6CuD8A>HU-;UU6FZ|XcdxyWP#-DWfj)R1 z7!!T4pbif%Xyb!*{|W8|C#8xb##&WH|B*%X_kmui;{V_xdK`C~s`!i1yp^?wgsu;c z8TycwHPY6@CWvqy2K9n%WJM6!#@`#KyE`~D^z(r71vqI(QBt`F5lODKeeoM z4fAy0vVN8VG^wtg^(@ce1%ZNN9IpYFS&yD>QE8g<=)L1%-lLb#I|_8wqxarNQPp)= z20*t0F#-rO5M&_8K#+kT13?CY3E+IB!^V>se3}saOVWSW7ZJ8z z*Glu+xwrRf=dRXhq4V0s>-K60u!REDIkQ6z8@m_y*uRq<2{4P|&VFs8BaBt8bjhyQ z&UV}Zg0p5m2Jh*Ea5Cp>Zv#c>`1DY$VdE+6hL|2&sN?x#yf=oyw;y6a;u>E{Tw4Kt zKfxb3tM5iI`b$4R?%d1Q9fu9idkrsu;cVhs={zvL?=^fK43c|c+C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?iElNdcE7m*I{o zm%()iY-FrKXf+41;3p;Q�o4r|^7-Rc%o5^2dnJxS1UZ`FY3cULT+T&NC|PNa*Ju1^qu@j>PBB z^F~HKf8NXD@4o?joHH_?=ar1#qIU5dG0)8B`JDwiJZ0wdJeBbj*t`W}c*{c|;2eoFYeV-+%sJC4MLQ$&E=^ zCj#dQMVw3f`Okn3bHefQPope^{Qf{%*;lS3J_U!DuMn?{UT3KL!i#VE_$oOt{>pd3 zn9pIqv3-(@@h|xJXB5|yafXS6 zeEnGc3#i~2rQ5zdpXGg&et(u3ao*YB;q&}?z8REI*w2*~WY+%$3^;bUeV)JazSvp1 zemMTIFpsa}WzeAu^Lc;W3{9w-kmM=MXM7iIUcOMtxy40=LKfB3nu k9CX}wsFsV;>Q*=Tf^)m{7(GC1m#vA!6%A;0V&! +#include + +#define UNE_CONSTANTE 12 + +int main(void) { + int une_variable = 12; + printf("constante littérale : %d\n", 12); + printf("constante nommée : %d\n", UNE_CONSTANTE); + printf("variable : %d\n", une_variable); +} diff --git a/APL1.1/TP03/calcul b/APL1.1/TP03/calcul new file mode 100755 index 0000000000000000000000000000000000000000..70cf2dea275969b41adbe7943998a4ccfac32761 GIT binary patch literal 16088 zcmeHOeQX>@6`woDiQC3!Cr!%bqs;;da$5Of=ficHn(X;2>+15+#GyrPx~%Wk_LcLU zx!VhNg=kcVsHenDR4TzA0g6Csq*AHnLxNT+juI8>B&eXM*2{*mUoG&# zIkj!aUJ*VZrclTHkO)=CVUoc`7W7>LA51&)w;X={N$u5h-`g<$tpL0D=qz83-~EWFW{ukbxirK?eRGGw`>D+decV-l;PV*PdG^gz>d0C+z;l zm^fW`N)FfEbRN|1nm6IQVU-Rwl!wvw_O$D|$Z!2iU+K(4M(MmU@#f5~{={T$FDxaE z$@*WzO4gX{I0Me^(me1k9Ru-aP%$QJe~7U8inA1&-hp*!`UZEpVbuW)eu@zMOVWSS zV+d=n8KoKHw#XsSEdthJu!T7%TLvd5hIkty05mC<5^32491trKpkbx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md|uZwPLU(G?;rm+h~G(m@?a9yiNJY65!cdw{&zu#IpO&Dr%@I{ zet#gX>?_w1kHbghYs4#~>I`*Xc=3#nuag6#&55Bn%;&Jr`S`rfVC45B_V>@<9}&OY zj7FY>he>4c^Irl3j-UBQG|!U}f5TFXpZ_Z`s{AR<^JYA&lA+GmkJZ103eHiw?aS*~ zK1b>IXPNO0;5I0HUO&$?gAxk+dD5)R`agpK=MJ~e>sLM(JB@>bg7Y5>^Y}Vm0v)Bwr3F7J)XeD0^8UzUN4vAF-dj%y)4 zx5NI}mRjnmeR40Gm`}^mvYz=W^4u#sLB*heXQ^ZO9L9Gx?hii~@O_#44%KqeXyUH) Y1?P6z5tp;o_;=$UCMdV~2tHB#3$7B2j{pDw literal 0 HcmV?d00001 diff --git a/APL1.1/TP03/calcul.c b/APL1.1/TP03/calcul.c new file mode 100644 index 0000000..22b5f6c --- /dev/null +++ b/APL1.1/TP03/calcul.c @@ -0,0 +1,15 @@ +#include +#include + +int main(void) { + + printf("valeur 1 : %d\n", 100/6); + printf("valeur 2 : %d\n", 100%6); + printf("valeur 3 : %d\n", 0x1A*015); + printf("valeur 4 : %d\n", -3/5); + printf("valeur 5 : %d\n", -31%5); + printf("valeur 6 : %d\n", 100*(3/5)); + printf("valeur 7 : %d\n", 100*3/5); + printf("valeur 8 : %d\n", 2-3-5); + printf("valeur 9 : %d\n", 2-(3-5)); +} diff --git a/APL1.1/TP03/conversions b/APL1.1/TP03/conversions new file mode 100755 index 0000000000000000000000000000000000000000..b145f6bf563fc5e81ac0bfa2d128eb1a474e7632 GIT binary patch literal 16088 zcmeHOeQX>@6`woDiQC3^P8zq@q^-AYjGPKz?0lFDk;$Gv_mJ~JV)sK$x?10@?S=E5 zx!VIfDq!IddMbvfs>DB)03k&FK?)!w3KDhXs;GZdZG?neDyUVZstcvK&>*+aEbq;} zcivmh74#2;V8`11&3p5HZ)V@ju4iv&zSKW75DtX|r#kTofs)$fYE&wC;A4~lP(?yC z!ud{dhu94AC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ajkBB8(jUx6OSDBbpz`7H0F^xLz{_zG~N9zM^XSKC1eiS1lzU1t3s zpa91X*U$4;-WR(}{fFZp6Z5zq-vJ$(FrW9=EzyLk4N0EFe8zX7%*z)l8F#p-kjTJ1 z#xRh*d_{FF72 +#include + +#define NOMB 95 + +int main(void) { + printf("%d en base 10 ; %X en base 16 et %o en base 8.\n", NOMB, NOMB, NOMB); + return EXIT_SUCCESS; +} + diff --git a/APL1.1/TP03/conversions_2 b/APL1.1/TP03/conversions_2 new file mode 100755 index 0000000000000000000000000000000000000000..49463d04f8b8e307167fce6c16b3334b03f4b0e1 GIT binary patch literal 16096 zcmeHOYit}>6~4QU6NkoYC$+;iY3pelBd5Y^I}hVfnauh*t~QS*Hf@!r!+3XWFYLqJ zoo($3frUe0m6}HUfd1%@@}naCfdoYeC)Bx)@sL2O=0vmKz2}_o+&gFPjPGRb{d|9HAQ%V;mMZZHfi<<>(Wqqj)W@g*po%V0 z3%_@YJH%F~Z;?93t~vl#N0x)-SVQ_MK;(t7Pyugu)Pj+Fh={z+B#a#bVH9*8$g4&J z)xB6v{bXc&sXYbBAd37g;X~*E!szBcCuPD3QJ4nz(MeQ5ZYo-lLfcrtI9 zx#45Iscgm^HbzqzV?3SBPz>F1t>}o|3c^1JB|vTiVm}mlJQemNx1-lV$6UIv`F?8O z=@{1NzGeLi1!z$nJL|c=j28q1$2eXCmKB$tZc%Akb?M#XVa=tN&pQgV?$W#Oqp<2Y zYy+TMffzpc8SpdUXTZ;Zp8-Dueg^yud=NA6m%2Ourp^ALM!Qh`n>Hb|FV0&*`!#L$ z<(fr#y7uAApthUeg5SC(6-rp2K--lS+qRM4@yDU!(xY1OvNrqH+R5SAT=myr3aic4 zHc9AS0%yB12fTMKYIEH`gn~9#{UXAVb*mAYK8|H*db_<+*EEB{7YV_?DE$wA0b&0Q zt+=KwTs^8StXFA)SG1)YRs#fRrT{he%2-`f-v%H1H`Cn@W>GjeqRn;(v8WZ_wraHt z-5-I9-MAKk_w+cN%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z%E0;K`j4Q1U1YwdI2K0y7UmXj`>%r0&7V;mZ^mUe8Oq-Fe+fDqqjcMs=C!<^((BK4 z#y5dm=i>7`daV_dAnfPVHtMYZJs5E8aQi%u<^8cMcyb^({!y66*YO?Dp$qeQpWQM| ztXh!d66Q0$2R1ifsN~%4ph8s!<}n6=?B*+~OjU=+<%_WwG*G)VSjAP zEw$7>xtC1L_s*4>??xVbB{CE=3b;%i!{;!*yK#T`xv(8{+;=FJM4^Fuk0&^{%Z@m$ Rt;FxeKTIIIJp@lx`~&%IIQ;+s literal 0 HcmV?d00001 diff --git a/APL1.1/TP03/conversions_2.c b/APL1.1/TP03/conversions_2.c new file mode 100644 index 0000000..bf72bcc --- /dev/null +++ b/APL1.1/TP03/conversions_2.c @@ -0,0 +1,12 @@ +#include +#include + +#define CONST_OCT 00110 +#define CONST_HEX 0x48 + +int main(void) { + printf("0%o en décimal équivaut %d\n", CONST_OCT, CONST_OCT); + printf("0x%X en décimal équivaut %d\n", CONST_HEX, CONST_HEX); + + return EXIT_SUCCESS; +} diff --git a/APL1.1/TP03/exitvalues b/APL1.1/TP03/exitvalues new file mode 100755 index 0000000000000000000000000000000000000000..2c2d1057437f81afb9cb9fb92fbc770b20052fa3 GIT binary patch literal 16088 zcmeHOU2Ggz6~4QU6NlPsCym=}(#AtbkWy||){(si5P4xNRKeRFvtZ;NA|h`y31f#q7zLdN@@lby zbT3|~1{k@%+@6AD5Jmo$Q6(Oun}=OlZFBrryDCwmyqqCq9;(P&C*C^o7+0u0M$RYZ z1dmS2rx#VILs8|g5MJI4@x0he{*2fL%FxSJ>fdSa4Dq6h3?saF)G-T2ZtoMoqf1L3 z?+tvJ2dTZyu0xpe&q(PNhcfBWj-!V%skTfyTbyZ|>Fj9hI2tMBB8O$e*smxYIHvjs zMnrHhIy@?&i-M%XRVmhDBTH`|3$7T$D zJe@T%>4!{E;W~`z1b}I<~9FzdL4TytKSU!ef4s#DK))|c^ufZ!O%YrwMNvePXpt5#ih_jp)y+2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(jS`Y;o|XU=QNc!;|NIVBd*(rsoIW?}x#zRECh+MQINUMXjtH0DBYM^?Y5p_AapR z3^odWKCyiS?X0+PauYkQRKfV(cE1L8#l`31H^IIm7#4g#u>E^z$0QJm9&6$muwx#k zDGw$QmI0e!ymhK%Ab5oQRm$ffvOf=Y^!MiBx8#4E;`8(T8rZR)UjNs@u2eQDwOV*! z?yF)K#%Q`No3qTw7%Zd*MYoIzkneSGGk(6?Y(YI>0`M1z5s+&PM^r+ zMvaV~vU2%?ZWL$4SZ-=MV_Iek9v)RaaQS~)H}ZL7RyVU&epZa`8^IIg_>?G%`iAAbZ?57&{f$;{&}qto*O^P6@sDQv3nY5%v-ZA(`Ydbdu-AvGR3+R zZ8*Rp=ssx_CPgGQn}sGEwDL~PgJ!;v&SfhU9qRIC#y|p5~Cm1AFL||x7!HBJPAH7c-&adEB zg=ecHVfs7C$nz_zmcCp@{16=OJsq9IXH?P2B|P6@QwJ2>{2Agi?q^3re%`S;;odr=Zwtfc_rhwsa-rr%rofC}c-0}b@I0s}t&-)l*v7i+0Kl?F$9%^w;$vV#~%Se20|H&*Cpny4LKF@0z z7s-*^_n!Y_#P23QxiJaLMBqH3igRf%{~KV#oN#>n(tMyP!|n6@mG{N2(DlRdkHS2@j&FkvU6{}N>y~Lk)rusSFrN|U!EU}# z$vNtvLMj9E7=u7|^A*+cREW?0^zzF(kTDkbpXYH=;&VIfk8Qc7f!ZhcauxHvb7bbb zk;h({3E>p+wIgIaY+#h}}YzG_n9g1a9Xy7WI;M^`d;&iqeU&TL6Ah&o39##AU D5gj1T literal 0 HcmV?d00001 diff --git a/APL1.1/TP03/exitvalues.c b/APL1.1/TP03/exitvalues.c new file mode 100644 index 0000000..a588c33 --- /dev/null +++ b/APL1.1/TP03/exitvalues.c @@ -0,0 +1,10 @@ +/* exit values; programme */ + +#include +#include + +int main(void) { + printf("EXIT_SUCCESS: %d ; EXIT_FAILURE: %d\n", EXIT_SUCCESS, EXIT_FAILURE); + return EXIT_SUCCESS; +} + diff --git a/APL1.1/TP03/limite b/APL1.1/TP03/limite new file mode 100755 index 0000000000000000000000000000000000000000..d51f7acc288937d766f25bfc1290f3b9478d3dc6 GIT binary patch literal 16088 zcmeHOYit}>6~4QU6PL!j&ckK%XgolSoDy&B#BrSzlUaM$o~_nNn%Fe7Nr$y}Y!B?i z?9PH+A&BY_W!0KS{NYc9;0FQ;_`yqRgM=J8DwJQ1fXY>cYDKN;@+dAO$OW3^oIB^N zXNPsfLqZ7VTC?9hkMG<&XYP#e?B4tNSYp8M^9e3>;v)hjwaM0~WH@s_RRC1cBO2jz zkGNNC1bKth*>=?iu-awOUyTiIQKP(^BxD|n$Xg}eD)AVXs69r`C*}l? z9?GX1Rj^@E<);vC-Zb&t7$tv3Yy->b*R9mQ(%wnp?N?+N;l?goEf~4Ihk!?ymOSnZ ze3?&Cd+S|?5apkd(kl+6&C%|z1L;(I+RPTG+oyZF+q=8Mg}tCIaBgNrQayB!WpJM!;8`oiS4y}6-$d`Iw+UBQK!Uj`mQA3P6?i9T3R zhX)t5@xi)(1doA}Qo|8rZLOhy?>hQNL9f*C|HL|a9Cz=p;V-80X4V=Px;{3Y)W^+i zGHpI?fC$%NOfOi;yrpN7W>%n#m!Vq>CgOel`oZwQ@L{3Hhlli(kvAsHf@S1~hx*gG ztTCJ%O=FCSOfE|?blbJ2BX-LVe>O^h-1@{msPcF!?lkX0uS2$3@O{nqQ^ywDutN7O z>z61%n`+xx&+;N(5GXjt@fvVha_H$6m8NBf-Z>st9D4b@qd=<;z4JZ_skXx=0J;^3 z;enR{F9Ti%ybO35@G{_Kz{|k@Vg~*g-1BE`_O}h%ll3nj5JLOHyyY*ysLft$Sdgb% zK70ez<<{5WGuWa+4dqF+y}48_myzH3yLjpPV_NBkHv8Jj$>GFY{Y99#G(dO#Ehj3)oYKEqdV;!2ltGpC!Igh~?2*JN3{SQBZu2su3)l^@FuqpD^T&8^PJr(S#CYyDRIcF1kMRRe>W2Xg z{*z~sy8I$2Weoyy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jP2oO= z_zCbznOVJ9FyI8&`i4mYd9+ZVFmfk_uERD7P7m&%sJSVkdP7E4&qTN|ld+PcfL7kd zNv^?W4kJG$!gA`4Rst;V9Uv?5H==h7)_>t%aYBo$CJ(A zIs{H;%rR&+2eIHIEE}+cL1IN1hIIx;tK**fcd9tQf?E}yt#%2~|4BxkUy)h*avkvl za5(pL^bns>MJGq$`3|ePq2lCE6Q6M}I}-Bqj@5A&pa0J@D(pz;=06PjKfxS{&!6Xw zjC}sQm&M)xB=B+0$b6nxGJccV#dE|wGoR;oCg|{#na}f7#tUF`7L4I6p8^5rfXwH4 zA0w<2l!g1xevF?3E6yod=6PiWiSO<|sl^;rFsIDtc`f5SIdc2%^ZzpO`^ZmjOu{-5 zI8P|zT-we58t5=593THR%0kHR52TfS24`TdCf-Q)NB#OM4Ag**vAL?Q#{kL4dh1-r=n{fcd2#NWuA#ohi3V07|7 zuGrp;i%v4s-R=JzbT~%owy(@*c^{?QpJm2Zfg5!2dH%f84oWEOXG?1`>wg0V96Q`T z&tG|8>=K?F6deCpn8(-gCg{+G`MkewktS4aNOBbBGrj{hCts-K++m|aA_Man{Xll| z71j1sh|m3W^D8otF&6iq=W!jx=XTg1+j5phYMRDjEe`q>kZp r7~k2rKm1(4_hs%oR4YZHfxFukoZDqboX*zbe;EHULAl38aEan?mWL(o literal 0 HcmV?d00001 diff --git a/APL1.1/TP03/limite.c b/APL1.1/TP03/limite.c new file mode 100644 index 0000000..e803d20 --- /dev/null +++ b/APL1.1/TP03/limite.c @@ -0,0 +1,8 @@ +#include +#include + +#define LIMITE 0xFFFFFFFE + +int main(void) { + printf("Test : DEC: %d HEX: 0x%X OCT: 0%o\n", LIMITE, LIMITE, LIMITE); +} diff --git a/APL1.1/TP03/salut.c b/APL1.1/TP03/salut.c new file mode 100644 index 0000000..0d8c4f4 --- /dev/null +++ b/APL1.1/TP03/salut.c @@ -0,0 +1,10 @@ +/* premier programme */ + +#include +#include + +int main(void) { + printf("Hello World!\n"); + return EXIT_SUCCESS; +} + diff --git a/APL1.1/TP03/undeuxtrois b/APL1.1/TP03/undeuxtrois new file mode 100755 index 0000000000000000000000000000000000000000..78e1434e288b1cdac60a94843dd083d0a687a909 GIT binary patch literal 16088 zcmeHOeQX>@6`woXiQU#`CymQBY3ps9f>Uu9J0HfOGTHOz9=gOPu^Xy3S=M)J`=t9Y zcY9!02&|Zfo`NCjAG8wvgGxvsAyAR%glMfQRoz013oUXB&GO#t zd*{9Fx#B}YqS~?Ue)HbE-ZFxmH8zsI4iI@^%+$bJ9JOHN79t{VtJI1Og2X7OAINKv z1^5Mt^o$MEPDa*O>Qf|32oH9k0VGB@51X zG_+*#{=ma~g6i999KsZTMhdUkpGi-2AKITuMKbAJX*M$3(;ewP6fNeX2V}+Au1@&i zoEknpE`sx733bd5h(MJbBpFO(Lfc*N!LTF$n}^R_j+|M2?c0}6-Met$=R?7RPj#RT z_5*#Q4JOp#hZC0Zhjsr7;WR$Y3!G-c76OYfcs>n^>#&yk}Im)?E-gjL62I{;k* z#PGq7fFA)r0)7Pi2>223Bj88igB*dsw%qoPw(zG$?R>+P{X%FDEm=YPIc?$T#%0-U z`|yjPw(q(M-!1JbTcS#7boT|)0= zFt*zYzSRm%z$PEtH{Ux5#iDd@TwCZ3Vpc1^WHoE&dp`_< z-L@Wu^?VXKbE)ALPy|jdPexnXzl_Zg%afaV>_7T@WeRM^!3XqWDTLmhS-X18wn6+c ziNAHk?~!;3#Gj%&w`^cOpoSnR$3qe8^)jhBBH8;_UYijBp}{}|U6BMDHSOze9X z$7pQ?yRn7!)-ZDBc}9r;7)RUE(jPsbjJosOM}>Fz#Y zeK@j+a@;E;jm`6u9|1oCegymo_!00U;77oZfFA)r0)7Pi2z*c@5P-KorJQI=nWb6L z)MOR%=_2+uu&3@Gd+pKTkTz{S9J`DSb{WU-#dK(7FbQ0q`A{K=Nf>q6u{0G~3np$F|^q1JQ3{^o5(r~pKG(_(vQ21+ggCS+H zelXPW)rNsk=eccKsApmOa7fLCd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