Commit db6333a6 by trkall

kuup2eva yl

parent 7f7a6850
typedef struct{
char date[9];
char uus[9];
char loc[2];
}dates;
void sorteerimine(dates DateArray[], int);
void stringcopy(dates DateArray[], int, int, int);
int FileLenght(FILE *sisse)
{
int lines = 0;
char ch;
while((ch=fgetc(sisse)) != EOF)
{
if(ch=='\n'){lines++;}
}
return lines;
}
int chkFile(FILE *andmed)
{
if(andmed == NULL)
{
return 0;
}
return 1;
}
void FileSisse(dates DateArray[], FILE *sisse)
{
int i = 0;
rewind(sisse);
while(fscanf(sisse, "%s", DateArray[i].date) != EOF)
{
i++;
}
}
void ChangeFormat(dates DateArray[], int lines)
{
int i, j;
char buffer;
for(i=0;i<lines;i++)
{
for(j=0;j<4; j++)
{
buffer = DateArray[i].date[j];
DateArray[i].date[j] = DateArray[i].date[j+4];
DateArray[i].date[j+4] = buffer;
}
}
}
void ChkDate(dates DateArray[], int lines)
{
int i;
int chk;
int aasta, kuu, p2ev = 0;
char *EUname = "EU.txt";
char *USname = "US.txt";
char *notdate = "notdate.txt";
int liig = 0;
FILE *EU, *US, *nodate;
EU = fopen(EUname, "w");
US = fopen(USname, "w");
nodate = fopen(notdate, "w");
for(i=0;i<lines;i++)
{
chk = 0;
aasta=(DateArray[i].date[4]- '0')*1000 +(DateArray[i].date[5] - '0')*100
+ (DateArray[i].date[6] - '0')*10 + (DateArray[i].date[7] - '0');
if(aasta > 0 && aasta <= 3600)
{
kuu =(DateArray[i].date[2] - '0')*10 + (DateArray[i].date[3] - '0');
if(kuu > 0 && kuu <= 12)
{
p2ev=(DateArray[i].date[0] -'0')*10+(DateArray[i].date[1] -'0');
if(aasta%4 == 0)
{
liig = 1;
if(aasta%100 == 0)
{
if(aasta%4 != 0)
{
liig = 0;
}
}
}
}
if(kuu == 1 || kuu == 3 || kuu == 5 || kuu == 7 || kuu == 8 ||
kuu == 10 || kuu == 12)
{
if(p2ev > 0 && p2ev <= 31)
{
fprintf(EU, "%s\n", DateArray[i].date);
chk = 1;
}
}else if(kuu == 2){
if(liig == 1)
{
if(p2ev > 0 && p2ev <= 29)
{
fprintf(EU, "%s\n", DateArray[i].date);
chk = 1;
}
} else{
if(p2ev > 0 && p2ev <= 28)
{
fprintf(EU, "%s\n", DateArray[i].date);
chk = 1;
}
}
} else
{
if(p2ev > 0 && p2ev <= 30)
{
fprintf(EU, "%s\n", DateArray[i].date);
chk = 1;
}
}
// end of EU, start of US
///----------------------------------------
kuu =(DateArray[i].date[0] - '0')*10 + (DateArray[i].date[1] - '0');
if(kuu > 0 && kuu <= 12)
{
p2ev=(DateArray[i].date[2] -'0')*10+(DateArray[i].date[3] -'0');
if(aasta%4 == 0)
{
liig = 1;
if(aasta%100 == 0)
{
if(aasta%4 != 0)
{
liig = 0;
}
}
}
}
if(kuu == 1 || kuu == 3 || kuu == 5 || kuu == 7 || kuu == 8 ||
kuu == 10 || kuu == 12)
{
if(p2ev > 0 && p2ev <= 31)
{
fprintf(US, "%s\n", DateArray[i].date);
chk = 1;
}
}else if(kuu == 2){
if(liig == 1)
{
if(p2ev > 0 && p2ev <= 29)
{
fprintf(US, "%s\n", DateArray[i].date);
chk = 1;
}
} else{
if(p2ev > 0 && p2ev <= 28)
{
fprintf(US, "%s\n", DateArray[i].date);
chk = 1;
}
}
} else
{
if(p2ev > 0 && p2ev <= 30)
{
fprintf(US, "%s\n", DateArray[i].date);
chk = 1;
}
}
///----------------------------------------
}
if(chk == 0)
{
fprintf(nodate, "%s\n", DateArray[i].date);
}
}
fclose(EU);
fclose(US);
fclose(nodate);
}
void kokku(dates DateArray[], int lines)
{
char *EUname = "EU.txt";
char *USname = "US.txt";
FILE *EU, *US;
EU = fopen(EUname, "r");
US = fopen(USname, "r");
int i = 0;
int j = 0;
int k = 0;
int x = 0;
while(!feof(EU) && i < lines)
{
fscanf(EU, "%s", DateArray[i].date);
strcpy(DateArray[i].loc, "EU");
i++;
}
fclose(EU);
j=i;
while(!feof(US) && j < lines)
{
fscanf(US, "%s", DateArray[j].date);
strcpy(DateArray[i].loc, "US");
j++;
}
fclose(US);
for(j=0;j<i;j++)
{
x = 4;
for(k=0;k<9;k++)
{
stringcopy(DateArray, j, k, x);
if(x == 7){x = 1;}
if (x == 3) {x = -1;}
x++;
}
}
for(i=j;i<lines;i++)
{
x = 4;
for(k=0;k<9;k++)
{
stringcopy(DateArray, i, k, x);
if(x == 7){x = -1;}
x++;
}
printf("%s", DateArray[i].uus);
}
}
void stringcopy(dates DateArray[], int j, int k, int x)
{
DateArray[j].uus[k] = DateArray[j].date[x];
}
void failikirjutamine(dates DateArray[], int lines)
{
FILE *Kokku;
char *koos = "koos.txt";
Kokku = fopen(koos, "w");
int i;
sorteerimine(DateArray, lines);
for(i=0;i<lines;i++)
{
fprintf(Kokku, "%s %s", DateArray[i].uus, DateArray[i].loc);
}
fclose(Kokku);
}
void sorteerimine(dates DateArray[], int lines)
{
int sorditud;
int i, j, cmp;
char *temp;
char *str1;
char *str2;
int kontroll;
do
{
i = 0;
sorditud = 1;
do
{
str1 = DateArray[i].uus;
str2 = DateArray[i+1].uus;
cmp = strcmp(str1, str2);
if(cmp < 0)
{
temp = str2;
str2 = str1;
str1 = temp;
for(j=0;j<8;j++)
{
DateArray[i].uus[j] = *(str1+j);
DateArray[i+1].uus[j] = *(str2+j);
}
str1 = DateArray[i].loc;
str2 = DateArray[i+1].loc;
temp = str2;
str2 = str1;
str1 = temp;
for(j=0;j<2;j++)
{
DateArray[i].loc[j] = *(str1+j);
DateArray[i+1].loc[j] = *(str2+j);
}
///strcpy(temp, DateArray[i].uus);
///strcpy(DateArray[i].uus, DateArray[i+1].uus);
///strcpy(DateArray[i+1].uus, temp);
///strcpy(temp, DateArray[i].loc);
///strcpy(DateArray[i].loc, DateArray[i+1].loc);
///strcpy(DateArray[i+1].loc, temp);
///VIGA yleval
///strcpy(&temp, &DateArray[i].uus);
///strcpy(&DateArray[i].uus, &DateArray[i+1].uus);
///strcpy(&DateArray[i+1].uus, &temp);
/*strcpy(&DateArray[i].uus, &DateArray[i+1].uus);
strcpy(&DateArray[i].uus, &DateArray[i+1].uus);
strcpy(&DateArray[i].uus, &DateArray[i+1].uus);*/
sorditud = 0;
}
i++;
kontroll = (i<lines-1);
}while(kontroll);
}while(!sorditud);
}
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <math.h>
typedef struct{
......
20121204
20161212
01221449
19011212
20171128
20162711
10101010
01231023
10231203
68423216
29961689
19121202
61541086
38512621
40322698
42862601
07092402
26372792
39722618
70751741
93723575
56001021
50141509
31003091
29052106
73962945
72751836
39572459
78002220
23092481
35221630
56231607
43632209
82322594
64223274
07583151
10082519
19962212
76862715
10842337
20121204
20161212
01221449
19011212
20171128
20162711
10101010
01231023
10231203
68423216
29961689
19121202
61541086
38512621
40322698
42862601
07092402
26372792
39722618
70751741
93723575
56001021
50141509
31003091
29052106
73962945
72751836
39572459
78002220
23092481
35221630
56231607
43632209
82322594
64223274
10082519
19962212
76862715
typedef struct{
int year[4];
int month[2];
int day[2];
int loc;
}X;
typedef struct{
char date[9];
int uus;
int loc;
}dates;
void sorteerimine(dates DateArray[], int);
void stringcopy(dates DateArray[], int, int, int);
int FileLenght(FILE *sisse)
{
int lines = 0;
......@@ -20,6 +20,15 @@ int FileLenght(FILE *sisse)
return lines;
}
int chkFile(FILE *andmed)
{
if(andmed == NULL)
{
return 0;
}
return 1;
}
void FileSisse(dates DateArray[], FILE *sisse)
{
int i = 0;
......@@ -47,7 +56,8 @@ void ChangeFormat(dates DateArray[], int lines)
void ChkDate(dates DateArray[], int lines)
{
int i, j = 0;
int i;
int chk;
int aasta, kuu, p2ev = 0;
char *EUname = "EU.txt";
char *USname = "US.txt";
......@@ -60,14 +70,16 @@ void ChkDate(dates DateArray[], int lines)
for(i=0;i<lines;i++)
{
chk = 0;
aasta=(DateArray[i].date[4]- '0')*1000 +(DateArray[i].date[5] - '0')*100
+ (DateArray[i].date[6] - '0')*10 + (DateArray[i].date[7] - '0');
if(aasta > 0 && aasta <= 3600)
if(aasta > 1000 && aasta <= 3600)
{
kuu =(DateArray[i].date[2]*10 - '0') + (DateArray[i].date[3] - '0');
kuu =(DateArray[i].date[2] - '0')*10 + (DateArray[i].date[3] - '0');
if(kuu > 0 && kuu <= 12)
{
p2ev=(DateArray[i].date[0]*10 -'0')+(DateArray[i].date[1] -'0');
p2ev=(DateArray[i].date[0] -'0')*10+(DateArray[i].date[1] -'0');
if(aasta%4 == 0)
{
liig = 1;
......@@ -86,35 +98,38 @@ void ChkDate(dates DateArray[], int lines)
if(p2ev > 0 && p2ev <= 31)
{
printf("homo");
fprintf(EU, "%s EU Okey\n", DateArray[i].date);
fprintf(EU, "%s\n", DateArray[i].date);
chk = 1;
}
}else if(kuu == 2){
if(liig == 1)
{
if(p2ev > 0 && p2ev <= 29)
{
fprintf(EU, "%s EU Okey\n", DateArray[i].date);
fprintf(EU, "%s\n", DateArray[i].date);
chk = 1;
}
} else{
if(p2ev > 0 && p2ev <= 28)
{
fprintf(EU, "%s EU Okey\n", DateArray[i].date);
fprintf(EU, "%s\n", DateArray[i].date);
chk = 1;
}
}
} else
{
if(p2ev > 0 && p2ev <= 30)
{
fprintf(EU, "%s EU Okey\n", DateArray[i].date);
fprintf(EU, "%s\n", DateArray[i].date);
chk = 1;
}
}
// end of EU, start of US
///----------------------------------------
kuu =(DateArray[i].date[0]*10 - '0') + (DateArray[i].date[1] - '0');
kuu =(DateArray[i].date[0] - '0')*10 + (DateArray[i].date[1] - '0');
if(kuu > 0 && kuu <= 12)
{
p2ev=(DateArray[i].date[2]*10 -'0')+(DateArray[i].date[3] -'0');
p2ev=(DateArray[i].date[2] -'0')*10+(DateArray[i].date[3] -'0');
if(aasta%4 == 0)
{
liig = 1;
......@@ -132,37 +147,150 @@ void ChkDate(dates DateArray[], int lines)
{
if(p2ev > 0 && p2ev <= 31)
{
fprintf(US, "%s US Okey\n", DateArray[i].date);
fprintf(US, "%s\n", DateArray[i].date);
chk = 1;
}
}else if(kuu == 2){
if(liig == 1)
{
if(p2ev > 0 && p2ev <= 29)
{
fprintf(US, "%s US Okey\n", DateArray[i].date);
fprintf(US, "%s\n", DateArray[i].date);
chk = 1;
}
} else{
if(p2ev > 0 && p2ev <= 28)
{
fprintf(US, "%s US Okey\n", DateArray[i].date);
fprintf(US, "%s\n", DateArray[i].date);
chk = 1;
}
}
} else
{
if(p2ev > 0 && p2ev <= 30)
{
fprintf(US, "%s US Okey\n", DateArray[i].date);
fprintf(US, "%s\n", DateArray[i].date);
chk = 1;
}
}
///----------------------------------------
}
if(chk == 0)
{
fprintf(nodate, "%s\n", DateArray[i].date);
}
}
fclose(EU);
fclose(US);
fclose(nodate);
}
void kokku(dates DateArray[], int lines)
{
char *EUname = "EU.txt";
char *USname = "US.txt";
FILE *EU, *US;
EU = fopen(EUname, "r");
US = fopen(USname, "r");
int i = 0;
int j = 0;
int k = 0;
int x = 0;
while(!feof(EU) && i < lines)
{
fscanf(EU, "%s", DateArray[i].date);
DateArray[i].loc = 1;
i++;
}
fclose(EU);
j=i;
while(!feof(US) && j < lines)
{
fscanf(US, "%s", DateArray[j].date);
DateArray[j].loc = 0;
j++;
}
fclose(US);
for(j=0;j<i;j++)
{
DateArray[j].uus = ((DateArray[j].date[4]-'0')*10000000 +
(DateArray[j].date[5]-'0')*1000000 +
(DateArray[j].date[6]-'0')*100000 +
(DateArray[j].date[7]-'0')*10000 +
(DateArray[j].date[2]-'0')*1000 +
(DateArray[j].date[3]-'0')*100 +
(DateArray[j].date[0]-'0')*10 +
(DateArray[j].date[1]-'0'));
printf("%d\n", DateArray[j].uus);
}
for(i=j;i<lines;i++)
{
DateArray[i].uus = (DateArray[j].date[4]-'0')*10000000 +
(DateArray[j].date[5]-'0')*1000000 +
(DateArray[j].date[6]-'0')*100000 +
(DateArray[j].date[7]-'0')*10000 +
(DateArray[j].date[0]-'0')*1000 +
(DateArray[j].date[1]-'0')*100 +
(DateArray[j].date[2]-'0')*10 +
(DateArray[j].date[3]-'0');
}
}
void failikirjutamine(dates DateArray[], int lines)
{
FILE *Kokku;
char *str1 = "EU";
char *str2 = "US";
char *koos = "koos.txt";
Kokku = fopen(koos, "w");
int i;
sorteerimine(DateArray, lines);
for(i=0;i<lines;i++)
{
if(DateArray[i].loc == 1)
{
fprintf(Kokku, "%d %s\n", DateArray[i].uus, str1);
} else {
fprintf(Kokku, "%d %s\n", DateArray[i].uus, str2);
}
}
fclose(Kokku);
}
void sorteerimine(dates DateArray[], int lines)
{
int sorditud;
int i, j;
int temp;
int kontroll;
do
{
i = 0;
sorditud = 1;
do
{
if(DateArray[i].uus < DateArray[i+1].uus)
{
temp = DateArray[i+1].uus;
DateArray[i+1].uus = DateArray[i].uus;
DateArray[i].uus = temp;
temp = DateArray[i+1].loc;
DateArray[i+1].loc = DateArray[i].loc;
DateArray[i].loc = temp;
sorditud = 0;
}
i++;
kontroll = (i<lines-1);
}while(kontroll);
}while(!sorditud);
}
73211452 EU
35757293 EU
32742264 EU
32164268 EU
31515807 EU
30910031 EU
29459673 EU
27923726 EU
27158676 EU
27111620 EU
26983240 EU
26215138 EU
26187239 EU
26018642 EU
25943282 EU
25190810 EU
24810923 EU
24595739 EU
24020907 EU
23378410 EU
22200078 EU
22129619 EU
22096343 EU
21060529 EU
18367572 EU
17417570 EU
16899629 EU
16302235 EU
16072356 EU
15091450 EU
14492201 EU
12121620 EU
12120119 EU
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12042012 US
12041220 EU
12032310 EU
12021219 EU
11281720 EU
10865461 EU
10232301 EU
10210056 EU
10101010 EU
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "functions.c"
#include "useful.c"
int main()
{
char *iFileName = "kuup2evad.txt";
FILE *sisse;
int lines;
......@@ -18,11 +20,13 @@ int main()
}
lines = FileLenght(sisse);
dates DateArray[lines];
//dates *DateArray = (dates*)malloc(sizeof(dates*));
FileSisse(DateArray, sisse);
fclose(sisse);
ChangeFormat(DateArray, lines);
ChkDate(DateArray, lines);
kokku(DateArray, lines);
failikirjutamine(DateArray, lines);
return 0;
}
No preview for this file type
No preview for this file type
29995525
66344125
34643860
95011203
23450101
95360412
18520120
92520125
59200523
50250293
31250129
98232035
92352358
43250396
42120239
51510231
41260707
63630124
12622140
19950620
05350314
00000000
01005010
05125102
75647108
16325903
69080697
89015900
85776639
52147321
45081088
01846887
13928537
19739198
80928505
03017098
85924691
98799405
12847605
66462917
41539282
31076101
47394498
87886752
33632704
25677306
61586785
59999013
46613842
12179967
94733297
26190130
18098895
73251579
90576241
48146876
81777752
92444551
72173939
72666260
66671921
26726955
92520995
82750153
26178565
77830346
30281149
25270306
56308817
42695503
26658843
47971588
70399033
01148576
43534016
55624195
74718539
13194366
40374235
48232691
52177304
72724519
78582772
66098901
90274011
58712106
29513228
67480508
22480823
60001170
00573954
76403394
66719620
42194168
30454093
43700710
49206642
19050312
18477187
76913858
65456325
67468364
71110225
34072948
52792361
91356650
59748044
22492255
85214220
99766230
97808745
96760981
51643430
27616899
44455252
51131375
13747544
45842904
93585407
59773910
34737213
73106602
86993873
34098657
91737368
25010513
51292787
45669033
31219168
46599992
88451117
98463787
48588674
91481541
68506344
34084412
04066904
15058795
94724505
12000764
49800678
32896976
68202999
67471625
52390316
28237324
01327453
05863569
28142633
04668176
44549077
89543805
18375747
47175002
53798528
34854068
46081710
64766145
63917272
12473392
74498861
81598968
25744498
22129367
97626535
19960227
46549521
40014537
12934157
09406991
79337452
58938757
45996856
41372706
70652660
68523884
95127902
26978802
66692786
92581606
81851473
72306390
94810887
43835227
07849986
47487616
48211492
07541584
07588580
97267380
20311970
14512204
91668853
81786156
53580614
65394671
20170622
69749767
94169705
91538701
99988313
80749971
93141007
42105198
27919421
67605850
57734801
49429879
23016094
48259090
79648989
23105385
75211145
41957663
44662304
58739994
86780202
76735227
34826796
62259189
19843125
31959022
76714270
52247289
76552886
23410323
14234083
98452928
69627834
43418243
97289076
19861406
25305837
89538308
79538354
71899542
50983974
49588902
23016955
76100381
98208297
83045395
01023846
76069941
99633698
76389029
66896111
08819329
43735787
39248743
62430103
50544248
25238156
82413605
88743838
21557290
03193932
95208604
69735918
79459517
10754337
51846459
53669009
50418079
50051412
30256622
98093808
41145558
52079169
06742496
92826429
45802360
32028322
39045186
17259061
40265551
81894060
37213845
81188698
46481826
47220978
17090899
11915129
95774347
17440827
85340761
67698476
15592864
81940873
75790728
54730110
47834298
01217491
11314925
79567967
97067005
35599015
57409900
57408232
69556912
07734837
60751764
17480324
92103650
29780170
82521594
88947226
64900134
38535694
33693926
39717127
59256783
34609819
88183905
04534718
90690907
33318521
64816910
85681448
22253932
43109576
16577263
40124695
81703245
69219044
38419402
46919978
13002164
19915897
27565667
87389814
80614365
80013876
71464892
14659579
99158442
78441294
41794390
78955281
33958238
49163839
83261533
85388308
ֲۦv
......@@ -118,3 +118,7 @@ int choose_midnr(int i,int j )
/// quicksort algoritm
void stringcopy(dates DateArray[], int i, int j, int k)
{
strcpy(DateArray[i].uus[j], DateArray[i].date[k]);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment