deleted /test

This commit is contained in:
2025-11-27 23:19:15 +07:00
parent bba29bd6f6
commit afa8e8dd92
4 changed files with 1 additions and 50 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
#include "head.i" #include "head.i" int queryinput(int *x, int *inquery, int *query){
int queryinput(int *x, int *inquery, int *query){
setlocale(LC_ALL, ""); setlocale(LC_ALL, "");
//INPUT------------------------------------------------- //INPUT-------------------------------------------------
-19
View File
@@ -1,19 +0,0 @@
#include <stdio.h>
int main(void){
int x;
unsigned long input = 0;
while((x=getchar())!='\n'
&& ((x>='a' && x<='z')
|| (x>='A' && x<='Z'))){
if (x<=32 && x!='\n' && x!=' ' && x!='\t') return -1;
printf("%d\t",x);
if(x>='a' && x<='z') x -= ('a'-'A');
printf("%d\t",x);
if(x>='A' && x<='Z') input = (input*100)+(x);
printf("%d %lu\n",x,input);
}
return 0;
}
-28
View File
@@ -1,28 +0,0 @@
#include <stdio.h>
#include <limits.h>
#include <float.h>
int main(void) {
/* Integer types */
printf("Signed char : %d … %d\n", SCHAR_MIN, SCHAR_MAX);
printf("Unsigned char : 0 … %u\n", UCHAR_MAX);
printf("Signed short : %d … %d\n", SHRT_MIN, SHRT_MAX);
printf("Unsigned short: 0 … %u\n", USHRT_MAX);
printf("Signed int : %d … %d\n", INT_MIN, INT_MAX);
printf("Unsigned int : 0 … %u\n", UINT_MAX);
printf("Signed long : %ld … %ld\n", LONG_MIN, LONG_MAX);
printf("Unsigned long : 0 … %lu\n", ULONG_MAX);
printf("Signed long long : %lld … %lld\n", LLONG_MIN, LLONG_MAX);
printf("Unsigned long long: 0 … %llu\n", ULLONG_MAX);
/* Floatingpoint types */
printf("\nFloat : %e … %e (precision: %d digits)\n",
-FLT_MAX, FLT_MAX, FLT_DIG);
printf("Double : %e … %e (precision: %d digits)\n",
-DBL_MAX, DBL_MAX, DBL_DIG);
printf("Long double : %Le … %Le (precision: %d digits)\n",
-LDBL_MAX, LDBL_MAX, LDBL_DIG);
return 0;
}
BIN
View File
Binary file not shown.