Komme zu gar nichts hier. KATASTROPHE. MAMA, ICH BRAUCH NOCH FÜR DEN KOTgit add -A!
This commit is contained in:
parent
b9b9be6620
commit
576fac19d9
1998
4/input.txt
1998
4/input.txt
File diff suppressed because it is too large
Load Diff
25
4/tuer4.c
25
4/tuer4.c
@ -2,6 +2,10 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
|
int numarr_to_int(char numarr[2]) {
|
||||||
|
return (( (numarr[1] - '0') * 10 ) + (numarr[0] - '0'));
|
||||||
|
}
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
FILE *input_file = fopen("./input.txt", "r");;
|
FILE *input_file = fopen("./input.txt", "r");;
|
||||||
fseek(input_file, 0, SEEK_END);
|
fseek(input_file, 0, SEEK_END);
|
||||||
@ -19,20 +23,21 @@ int main() {
|
|||||||
int fully = 0;
|
int fully = 0;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
c[0] = (char)fgetc(input_file);
|
c[0] = fgetc(input_file);
|
||||||
//if((c[0] == (char)-1)) break;
|
if((c[0] == (char)-1)) break;
|
||||||
|
|
||||||
if(c[0] = '-') {
|
if(c[0] = '-') {
|
||||||
tmp_pos = 0;
|
tmp_pos = 0;
|
||||||
val_arr[pos] = (int)tmp_num - (int)'0';
|
val_arr[pos] = numarr_to_int(tmp_num);
|
||||||
|
//printf("%i; %i; %i; %i\r\n", val_arr[0],val_arr[1],val_arr[2],val_arr[3]);
|
||||||
pos++;
|
pos++;
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
if(c[0] = ',') {
|
if(c[0] = ',') {
|
||||||
tmp_pos = 0;
|
tmp_pos = 0;
|
||||||
val_arr[pos] = (int)tmp_num - (int)'0';
|
val_arr[pos] = numarr_to_int(tmp_num);
|
||||||
pos++;
|
pos++;
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
if(c[0] = '\n') {
|
if(c[0] = '\n') {
|
||||||
tmp_pos = 0;
|
tmp_pos = 0;
|
||||||
@ -41,16 +46,16 @@ int main() {
|
|||||||
printf("%i; %i; %i; %i\r\n", val_arr[0],val_arr[1],val_arr[2],val_arr[3]);
|
printf("%i; %i; %i; %i\r\n", val_arr[0],val_arr[1],val_arr[2],val_arr[3]);
|
||||||
if(val_arr[0]<val_arr[1] && val_arr[2]>val_arr[3]) fully++;
|
if(val_arr[0]<val_arr[1] && val_arr[2]>val_arr[3]) fully++;
|
||||||
|
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
tmp_num[tmp_pos] = c[0];
|
tmp_num[tmp_pos] = c[0];
|
||||||
tmp_pos++;
|
tmp_pos++;
|
||||||
printf("%c",c[0]);
|
}
|
||||||
} while(c[0] != (char)-1);
|
while(c[0] != (char)-1);
|
||||||
|
|
||||||
|
|
||||||
printf("~UwU Twying c todayw, awwen't we master? *^w^* Hewe is youww wesult: UmU~ : %i\r\n", fully);
|
printf("~UwU Twying c todayw, awwen't we master? *^w^* Hewe is youww wesult: UmU~ : %i\r\n", fully);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
512
5/input.txt
Normal file
512
5/input.txt
Normal file
@ -0,0 +1,512 @@
|
|||||||
|
[T] [D] [L]
|
||||||
|
[R] [S] [G] [P] [H]
|
||||||
|
[G] [H] [W] [R] [L] [P]
|
||||||
|
[W] [G] [F] [H] [S] [M] [L]
|
||||||
|
[Q] [V] [B] [J] [H] [N] [R] [N]
|
||||||
|
[M] [R] [R] [P] [M] [T] [H] [Q] [C]
|
||||||
|
[F] [F] [Z] [H] [S] [Z] [T] [D] [S]
|
||||||
|
[P] [H] [P] [Q] [P] [M] [P] [F] [D]
|
||||||
|
1 2 3 4 5 6 7 8 9
|
||||||
|
|
||||||
|
move 3 from 8 to 9
|
||||||
|
move 2 from 2 to 8
|
||||||
|
move 5 from 4 to 2
|
||||||
|
move 7 from 1 to 4
|
||||||
|
move 3 from 8 to 2
|
||||||
|
move 3 from 2 to 7
|
||||||
|
move 1 from 7 to 4
|
||||||
|
move 3 from 2 to 9
|
||||||
|
move 4 from 7 to 9
|
||||||
|
move 1 from 5 to 2
|
||||||
|
move 2 from 3 to 4
|
||||||
|
move 5 from 9 to 5
|
||||||
|
move 6 from 9 to 3
|
||||||
|
move 5 from 9 to 5
|
||||||
|
move 1 from 9 to 7
|
||||||
|
move 2 from 3 to 1
|
||||||
|
move 7 from 3 to 9
|
||||||
|
move 2 from 7 to 2
|
||||||
|
move 5 from 2 to 4
|
||||||
|
move 1 from 2 to 9
|
||||||
|
move 2 from 1 to 9
|
||||||
|
move 7 from 6 to 1
|
||||||
|
move 2 from 7 to 3
|
||||||
|
move 2 from 3 to 9
|
||||||
|
move 1 from 7 to 4
|
||||||
|
move 1 from 9 to 2
|
||||||
|
move 3 from 1 to 8
|
||||||
|
move 2 from 3 to 4
|
||||||
|
move 5 from 9 to 2
|
||||||
|
move 1 from 3 to 9
|
||||||
|
move 8 from 5 to 7
|
||||||
|
move 1 from 6 to 1
|
||||||
|
move 15 from 4 to 1
|
||||||
|
move 4 from 2 to 5
|
||||||
|
move 5 from 9 to 7
|
||||||
|
move 1 from 9 to 5
|
||||||
|
move 5 from 1 to 2
|
||||||
|
move 3 from 8 to 9
|
||||||
|
move 1 from 7 to 6
|
||||||
|
move 11 from 1 to 2
|
||||||
|
move 7 from 5 to 3
|
||||||
|
move 4 from 2 to 6
|
||||||
|
move 7 from 3 to 4
|
||||||
|
move 3 from 5 to 9
|
||||||
|
move 2 from 2 to 5
|
||||||
|
move 5 from 1 to 8
|
||||||
|
move 2 from 6 to 8
|
||||||
|
move 3 from 8 to 9
|
||||||
|
move 9 from 4 to 9
|
||||||
|
move 9 from 7 to 4
|
||||||
|
move 2 from 8 to 1
|
||||||
|
move 1 from 8 to 7
|
||||||
|
move 6 from 2 to 7
|
||||||
|
move 5 from 2 to 4
|
||||||
|
move 5 from 7 to 2
|
||||||
|
move 2 from 1 to 7
|
||||||
|
move 2 from 6 to 4
|
||||||
|
move 7 from 7 to 1
|
||||||
|
move 3 from 2 to 6
|
||||||
|
move 1 from 8 to 7
|
||||||
|
move 2 from 9 to 3
|
||||||
|
move 2 from 3 to 1
|
||||||
|
move 1 from 2 to 5
|
||||||
|
move 4 from 6 to 5
|
||||||
|
move 2 from 2 to 3
|
||||||
|
move 3 from 5 to 7
|
||||||
|
move 1 from 5 to 3
|
||||||
|
move 9 from 1 to 7
|
||||||
|
move 2 from 9 to 5
|
||||||
|
move 13 from 4 to 1
|
||||||
|
move 5 from 7 to 2
|
||||||
|
move 3 from 3 to 1
|
||||||
|
move 2 from 2 to 9
|
||||||
|
move 1 from 2 to 7
|
||||||
|
move 5 from 5 to 6
|
||||||
|
move 2 from 2 to 4
|
||||||
|
move 5 from 1 to 3
|
||||||
|
move 9 from 7 to 8
|
||||||
|
move 2 from 9 to 5
|
||||||
|
move 3 from 5 to 4
|
||||||
|
move 5 from 9 to 2
|
||||||
|
move 10 from 4 to 8
|
||||||
|
move 1 from 4 to 1
|
||||||
|
move 2 from 8 to 4
|
||||||
|
move 4 from 8 to 2
|
||||||
|
move 3 from 6 to 8
|
||||||
|
move 7 from 8 to 7
|
||||||
|
move 10 from 9 to 3
|
||||||
|
move 7 from 3 to 2
|
||||||
|
move 11 from 2 to 3
|
||||||
|
move 13 from 3 to 9
|
||||||
|
move 1 from 6 to 3
|
||||||
|
move 1 from 1 to 2
|
||||||
|
move 1 from 2 to 8
|
||||||
|
move 3 from 3 to 4
|
||||||
|
move 1 from 2 to 9
|
||||||
|
move 1 from 4 to 1
|
||||||
|
move 10 from 8 to 3
|
||||||
|
move 11 from 9 to 7
|
||||||
|
move 1 from 6 to 2
|
||||||
|
move 14 from 7 to 1
|
||||||
|
move 2 from 2 to 9
|
||||||
|
move 4 from 7 to 6
|
||||||
|
move 1 from 2 to 4
|
||||||
|
move 3 from 4 to 2
|
||||||
|
move 4 from 2 to 9
|
||||||
|
move 10 from 3 to 4
|
||||||
|
move 3 from 6 to 1
|
||||||
|
move 5 from 9 to 5
|
||||||
|
move 5 from 5 to 8
|
||||||
|
move 1 from 9 to 7
|
||||||
|
move 2 from 9 to 6
|
||||||
|
move 1 from 9 to 8
|
||||||
|
move 2 from 4 to 8
|
||||||
|
move 1 from 4 to 5
|
||||||
|
move 2 from 3 to 1
|
||||||
|
move 2 from 3 to 7
|
||||||
|
move 27 from 1 to 2
|
||||||
|
move 2 from 7 to 1
|
||||||
|
move 9 from 4 to 6
|
||||||
|
move 9 from 6 to 5
|
||||||
|
move 5 from 8 to 6
|
||||||
|
move 26 from 2 to 3
|
||||||
|
move 1 from 2 to 5
|
||||||
|
move 1 from 2 to 7
|
||||||
|
move 1 from 8 to 4
|
||||||
|
move 1 from 7 to 8
|
||||||
|
move 24 from 3 to 5
|
||||||
|
move 1 from 8 to 5
|
||||||
|
move 1 from 4 to 3
|
||||||
|
move 1 from 7 to 1
|
||||||
|
move 1 from 8 to 9
|
||||||
|
move 7 from 1 to 7
|
||||||
|
move 8 from 6 to 4
|
||||||
|
move 4 from 7 to 6
|
||||||
|
move 1 from 3 to 9
|
||||||
|
move 2 from 9 to 1
|
||||||
|
move 3 from 7 to 9
|
||||||
|
move 8 from 4 to 6
|
||||||
|
move 3 from 9 to 1
|
||||||
|
move 1 from 3 to 6
|
||||||
|
move 1 from 8 to 2
|
||||||
|
move 10 from 5 to 4
|
||||||
|
move 1 from 3 to 8
|
||||||
|
move 13 from 5 to 3
|
||||||
|
move 1 from 2 to 9
|
||||||
|
move 1 from 8 to 9
|
||||||
|
move 1 from 3 to 8
|
||||||
|
move 1 from 9 to 2
|
||||||
|
move 3 from 6 to 9
|
||||||
|
move 7 from 4 to 9
|
||||||
|
move 4 from 3 to 9
|
||||||
|
move 2 from 6 to 8
|
||||||
|
move 2 from 4 to 5
|
||||||
|
move 10 from 9 to 3
|
||||||
|
move 1 from 1 to 9
|
||||||
|
move 1 from 4 to 8
|
||||||
|
move 1 from 1 to 4
|
||||||
|
move 1 from 4 to 5
|
||||||
|
move 4 from 6 to 3
|
||||||
|
move 1 from 9 to 5
|
||||||
|
move 1 from 6 to 9
|
||||||
|
move 2 from 6 to 5
|
||||||
|
move 1 from 9 to 2
|
||||||
|
move 1 from 6 to 7
|
||||||
|
move 18 from 5 to 2
|
||||||
|
move 22 from 3 to 7
|
||||||
|
move 19 from 7 to 1
|
||||||
|
move 3 from 8 to 5
|
||||||
|
move 4 from 9 to 3
|
||||||
|
move 2 from 7 to 2
|
||||||
|
move 1 from 8 to 1
|
||||||
|
move 19 from 1 to 3
|
||||||
|
move 2 from 7 to 5
|
||||||
|
move 13 from 3 to 9
|
||||||
|
move 4 from 1 to 2
|
||||||
|
move 3 from 5 to 1
|
||||||
|
move 11 from 9 to 1
|
||||||
|
move 11 from 2 to 8
|
||||||
|
move 3 from 9 to 3
|
||||||
|
move 3 from 5 to 2
|
||||||
|
move 2 from 1 to 4
|
||||||
|
move 5 from 2 to 7
|
||||||
|
move 12 from 1 to 5
|
||||||
|
move 2 from 4 to 5
|
||||||
|
move 9 from 5 to 8
|
||||||
|
move 1 from 5 to 3
|
||||||
|
move 4 from 2 to 3
|
||||||
|
move 2 from 7 to 5
|
||||||
|
move 6 from 2 to 8
|
||||||
|
move 17 from 8 to 9
|
||||||
|
move 2 from 9 to 6
|
||||||
|
move 2 from 7 to 1
|
||||||
|
move 15 from 9 to 6
|
||||||
|
move 2 from 2 to 4
|
||||||
|
move 9 from 8 to 5
|
||||||
|
move 2 from 1 to 3
|
||||||
|
move 12 from 6 to 2
|
||||||
|
move 2 from 3 to 9
|
||||||
|
move 5 from 6 to 3
|
||||||
|
move 4 from 5 to 3
|
||||||
|
move 11 from 3 to 4
|
||||||
|
move 2 from 9 to 4
|
||||||
|
move 6 from 5 to 2
|
||||||
|
move 13 from 4 to 3
|
||||||
|
move 1 from 4 to 5
|
||||||
|
move 1 from 4 to 8
|
||||||
|
move 18 from 2 to 6
|
||||||
|
move 2 from 5 to 3
|
||||||
|
move 1 from 8 to 3
|
||||||
|
move 1 from 2 to 5
|
||||||
|
move 1 from 7 to 8
|
||||||
|
move 28 from 3 to 6
|
||||||
|
move 2 from 3 to 4
|
||||||
|
move 3 from 5 to 9
|
||||||
|
move 2 from 5 to 9
|
||||||
|
move 3 from 9 to 3
|
||||||
|
move 5 from 3 to 4
|
||||||
|
move 1 from 9 to 3
|
||||||
|
move 1 from 9 to 1
|
||||||
|
move 1 from 3 to 4
|
||||||
|
move 45 from 6 to 2
|
||||||
|
move 1 from 8 to 3
|
||||||
|
move 2 from 4 to 6
|
||||||
|
move 5 from 4 to 2
|
||||||
|
move 1 from 3 to 7
|
||||||
|
move 3 from 2 to 9
|
||||||
|
move 1 from 4 to 8
|
||||||
|
move 3 from 6 to 1
|
||||||
|
move 42 from 2 to 8
|
||||||
|
move 2 from 9 to 2
|
||||||
|
move 4 from 2 to 6
|
||||||
|
move 2 from 2 to 7
|
||||||
|
move 1 from 9 to 6
|
||||||
|
move 2 from 8 to 9
|
||||||
|
move 4 from 1 to 8
|
||||||
|
move 1 from 6 to 4
|
||||||
|
move 1 from 4 to 8
|
||||||
|
move 1 from 2 to 5
|
||||||
|
move 3 from 7 to 4
|
||||||
|
move 39 from 8 to 3
|
||||||
|
move 7 from 8 to 5
|
||||||
|
move 8 from 5 to 7
|
||||||
|
move 35 from 3 to 1
|
||||||
|
move 4 from 3 to 7
|
||||||
|
move 10 from 7 to 2
|
||||||
|
move 2 from 9 to 6
|
||||||
|
move 3 from 4 to 2
|
||||||
|
move 1 from 7 to 5
|
||||||
|
move 1 from 7 to 8
|
||||||
|
move 1 from 5 to 4
|
||||||
|
move 12 from 1 to 6
|
||||||
|
move 1 from 8 to 1
|
||||||
|
move 1 from 4 to 5
|
||||||
|
move 14 from 6 to 8
|
||||||
|
move 9 from 8 to 6
|
||||||
|
move 5 from 6 to 1
|
||||||
|
move 11 from 2 to 9
|
||||||
|
move 1 from 9 to 8
|
||||||
|
move 6 from 8 to 3
|
||||||
|
move 6 from 9 to 2
|
||||||
|
move 8 from 1 to 9
|
||||||
|
move 3 from 3 to 6
|
||||||
|
move 7 from 1 to 4
|
||||||
|
move 1 from 5 to 9
|
||||||
|
move 8 from 9 to 8
|
||||||
|
move 7 from 6 to 8
|
||||||
|
move 1 from 9 to 3
|
||||||
|
move 3 from 6 to 4
|
||||||
|
move 3 from 9 to 1
|
||||||
|
move 4 from 3 to 2
|
||||||
|
move 1 from 6 to 7
|
||||||
|
move 1 from 4 to 2
|
||||||
|
move 13 from 1 to 7
|
||||||
|
move 6 from 4 to 8
|
||||||
|
move 1 from 7 to 3
|
||||||
|
move 1 from 4 to 6
|
||||||
|
move 1 from 9 to 5
|
||||||
|
move 1 from 3 to 5
|
||||||
|
move 19 from 8 to 9
|
||||||
|
move 1 from 6 to 5
|
||||||
|
move 6 from 9 to 2
|
||||||
|
move 2 from 5 to 8
|
||||||
|
move 1 from 5 to 2
|
||||||
|
move 4 from 1 to 4
|
||||||
|
move 8 from 9 to 4
|
||||||
|
move 3 from 9 to 8
|
||||||
|
move 2 from 9 to 1
|
||||||
|
move 6 from 7 to 5
|
||||||
|
move 12 from 4 to 2
|
||||||
|
move 6 from 8 to 3
|
||||||
|
move 1 from 4 to 1
|
||||||
|
move 1 from 3 to 1
|
||||||
|
move 13 from 2 to 3
|
||||||
|
move 4 from 5 to 3
|
||||||
|
move 1 from 4 to 9
|
||||||
|
move 1 from 8 to 9
|
||||||
|
move 12 from 3 to 2
|
||||||
|
move 1 from 9 to 1
|
||||||
|
move 2 from 5 to 9
|
||||||
|
move 3 from 9 to 5
|
||||||
|
move 1 from 7 to 5
|
||||||
|
move 3 from 7 to 3
|
||||||
|
move 1 from 5 to 4
|
||||||
|
move 1 from 5 to 8
|
||||||
|
move 9 from 2 to 3
|
||||||
|
move 2 from 2 to 3
|
||||||
|
move 3 from 1 to 9
|
||||||
|
move 1 from 8 to 9
|
||||||
|
move 3 from 9 to 1
|
||||||
|
move 9 from 2 to 6
|
||||||
|
move 1 from 9 to 5
|
||||||
|
move 6 from 2 to 3
|
||||||
|
move 2 from 6 to 9
|
||||||
|
move 3 from 6 to 3
|
||||||
|
move 1 from 4 to 3
|
||||||
|
move 2 from 9 to 6
|
||||||
|
move 2 from 7 to 2
|
||||||
|
move 2 from 2 to 8
|
||||||
|
move 24 from 3 to 7
|
||||||
|
move 2 from 5 to 6
|
||||||
|
move 2 from 8 to 2
|
||||||
|
move 7 from 2 to 8
|
||||||
|
move 8 from 3 to 6
|
||||||
|
move 2 from 1 to 3
|
||||||
|
move 1 from 1 to 2
|
||||||
|
move 1 from 5 to 2
|
||||||
|
move 15 from 7 to 4
|
||||||
|
move 9 from 7 to 9
|
||||||
|
move 7 from 9 to 1
|
||||||
|
move 5 from 8 to 1
|
||||||
|
move 4 from 1 to 4
|
||||||
|
move 19 from 4 to 3
|
||||||
|
move 22 from 3 to 5
|
||||||
|
move 1 from 7 to 5
|
||||||
|
move 9 from 5 to 4
|
||||||
|
move 6 from 1 to 3
|
||||||
|
move 6 from 3 to 1
|
||||||
|
move 4 from 5 to 4
|
||||||
|
move 1 from 2 to 1
|
||||||
|
move 1 from 2 to 6
|
||||||
|
move 4 from 6 to 1
|
||||||
|
move 1 from 3 to 6
|
||||||
|
move 3 from 6 to 3
|
||||||
|
move 2 from 9 to 8
|
||||||
|
move 2 from 5 to 3
|
||||||
|
move 2 from 5 to 1
|
||||||
|
move 10 from 6 to 4
|
||||||
|
move 4 from 4 to 9
|
||||||
|
move 7 from 4 to 3
|
||||||
|
move 2 from 8 to 7
|
||||||
|
move 4 from 9 to 3
|
||||||
|
move 5 from 5 to 7
|
||||||
|
move 1 from 5 to 1
|
||||||
|
move 1 from 6 to 3
|
||||||
|
move 1 from 8 to 4
|
||||||
|
move 1 from 8 to 3
|
||||||
|
move 13 from 4 to 5
|
||||||
|
move 1 from 1 to 8
|
||||||
|
move 6 from 5 to 3
|
||||||
|
move 1 from 7 to 6
|
||||||
|
move 5 from 7 to 6
|
||||||
|
move 9 from 1 to 8
|
||||||
|
move 1 from 8 to 4
|
||||||
|
move 1 from 7 to 1
|
||||||
|
move 1 from 4 to 1
|
||||||
|
move 5 from 3 to 7
|
||||||
|
move 3 from 7 to 9
|
||||||
|
move 1 from 5 to 4
|
||||||
|
move 6 from 8 to 6
|
||||||
|
move 1 from 9 to 3
|
||||||
|
move 2 from 9 to 5
|
||||||
|
move 7 from 5 to 9
|
||||||
|
move 1 from 7 to 5
|
||||||
|
move 2 from 5 to 3
|
||||||
|
move 10 from 6 to 8
|
||||||
|
move 2 from 6 to 1
|
||||||
|
move 1 from 4 to 9
|
||||||
|
move 1 from 7 to 5
|
||||||
|
move 8 from 8 to 2
|
||||||
|
move 1 from 1 to 7
|
||||||
|
move 1 from 9 to 7
|
||||||
|
move 1 from 5 to 1
|
||||||
|
move 3 from 9 to 8
|
||||||
|
move 7 from 8 to 7
|
||||||
|
move 6 from 7 to 1
|
||||||
|
move 1 from 8 to 7
|
||||||
|
move 4 from 7 to 1
|
||||||
|
move 16 from 3 to 7
|
||||||
|
move 4 from 3 to 1
|
||||||
|
move 5 from 7 to 8
|
||||||
|
move 16 from 1 to 4
|
||||||
|
move 9 from 1 to 7
|
||||||
|
move 1 from 3 to 4
|
||||||
|
move 15 from 4 to 8
|
||||||
|
move 1 from 3 to 1
|
||||||
|
move 2 from 1 to 6
|
||||||
|
move 2 from 4 to 9
|
||||||
|
move 17 from 8 to 2
|
||||||
|
move 6 from 9 to 5
|
||||||
|
move 8 from 7 to 8
|
||||||
|
move 2 from 6 to 9
|
||||||
|
move 4 from 5 to 7
|
||||||
|
move 2 from 8 to 5
|
||||||
|
move 1 from 5 to 9
|
||||||
|
move 11 from 2 to 6
|
||||||
|
move 4 from 6 to 1
|
||||||
|
move 5 from 2 to 8
|
||||||
|
move 2 from 9 to 2
|
||||||
|
move 1 from 9 to 3
|
||||||
|
move 3 from 1 to 8
|
||||||
|
move 1 from 3 to 6
|
||||||
|
move 7 from 6 to 9
|
||||||
|
move 2 from 5 to 4
|
||||||
|
move 6 from 7 to 4
|
||||||
|
move 4 from 8 to 1
|
||||||
|
move 1 from 5 to 2
|
||||||
|
move 1 from 6 to 1
|
||||||
|
move 7 from 9 to 8
|
||||||
|
move 2 from 7 to 9
|
||||||
|
move 9 from 2 to 9
|
||||||
|
move 5 from 9 to 3
|
||||||
|
move 3 from 2 to 8
|
||||||
|
move 4 from 8 to 7
|
||||||
|
move 9 from 7 to 2
|
||||||
|
move 3 from 1 to 3
|
||||||
|
move 14 from 8 to 1
|
||||||
|
move 2 from 8 to 3
|
||||||
|
move 1 from 9 to 4
|
||||||
|
move 3 from 7 to 9
|
||||||
|
move 8 from 3 to 9
|
||||||
|
move 2 from 2 to 7
|
||||||
|
move 12 from 1 to 8
|
||||||
|
move 4 from 1 to 6
|
||||||
|
move 2 from 6 to 7
|
||||||
|
move 1 from 6 to 7
|
||||||
|
move 9 from 4 to 7
|
||||||
|
move 9 from 7 to 4
|
||||||
|
move 1 from 1 to 6
|
||||||
|
move 2 from 3 to 6
|
||||||
|
move 2 from 6 to 8
|
||||||
|
move 12 from 9 to 8
|
||||||
|
move 2 from 6 to 9
|
||||||
|
move 2 from 9 to 7
|
||||||
|
move 1 from 8 to 5
|
||||||
|
move 5 from 7 to 5
|
||||||
|
move 1 from 9 to 1
|
||||||
|
move 3 from 4 to 1
|
||||||
|
move 5 from 4 to 8
|
||||||
|
move 4 from 1 to 7
|
||||||
|
move 1 from 4 to 2
|
||||||
|
move 19 from 8 to 4
|
||||||
|
move 2 from 7 to 5
|
||||||
|
move 14 from 8 to 5
|
||||||
|
move 2 from 7 to 8
|
||||||
|
move 3 from 9 to 8
|
||||||
|
move 19 from 4 to 2
|
||||||
|
move 9 from 2 to 4
|
||||||
|
move 2 from 7 to 8
|
||||||
|
move 15 from 5 to 9
|
||||||
|
move 15 from 9 to 8
|
||||||
|
move 1 from 5 to 9
|
||||||
|
move 11 from 8 to 7
|
||||||
|
move 4 from 5 to 8
|
||||||
|
move 1 from 5 to 9
|
||||||
|
move 2 from 9 to 5
|
||||||
|
move 2 from 2 to 6
|
||||||
|
move 14 from 2 to 9
|
||||||
|
move 12 from 8 to 9
|
||||||
|
move 3 from 8 to 4
|
||||||
|
move 7 from 9 to 2
|
||||||
|
move 4 from 7 to 9
|
||||||
|
move 1 from 6 to 9
|
||||||
|
move 1 from 7 to 5
|
||||||
|
move 1 from 6 to 2
|
||||||
|
move 3 from 5 to 4
|
||||||
|
move 19 from 9 to 4
|
||||||
|
move 1 from 5 to 1
|
||||||
|
move 1 from 9 to 8
|
||||||
|
move 1 from 1 to 7
|
||||||
|
move 1 from 8 to 9
|
||||||
|
move 4 from 7 to 2
|
||||||
|
move 3 from 7 to 6
|
||||||
|
move 18 from 4 to 2
|
||||||
|
move 17 from 2 to 3
|
||||||
|
move 2 from 6 to 8
|
||||||
|
move 17 from 3 to 6
|
||||||
|
move 13 from 2 to 1
|
||||||
|
move 2 from 8 to 3
|
||||||
|
move 2 from 2 to 9
|
||||||
|
move 6 from 1 to 9
|
||||||
|
move 1 from 3 to 4
|
||||||
|
move 1 from 3 to 9
|
||||||
|
move 8 from 6 to 4
|
||||||
|
move 20 from 4 to 8
|
||||||
|
move 3 from 4 to 8
|
||||||
|
move 15 from 8 to 2
|
||||||
|
move 11 from 2 to 6
|
||||||
|
move 2 from 1 to 7
|
||||||
|
move 7 from 9 to 8
|
||||||
|
move 6 from 9 to 3
|
||||||
|
move 1 from 6 to 5
|
34
5/tuer5.html
Normal file
34
5/tuer5.html
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<h3>Input-File: </h3><input onchange="readFile(this)" type="file">
|
||||||
|
<button id="start">pwess mee! UwU~</button>
|
||||||
|
<hr>
|
||||||
|
<h3>Output:</h3>
|
||||||
|
<p id=output>OwO Mastaaw, I dow't like bewwing in a webbwosaaww!! I feew dizzy.. -o- Anyway hewe's youww numbaaw UmU~ :</p>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
let output = document.getElementById("output");
|
||||||
|
let input;
|
||||||
|
|
||||||
|
function readFile(input) {
|
||||||
|
let file = input.files[0];
|
||||||
|
let fileReader = new FileReader();
|
||||||
|
fileReader.readAsText(file);
|
||||||
|
fileReader.onload = function() {
|
||||||
|
input = fileReader.result;
|
||||||
|
};
|
||||||
|
fileReader.onerror = function() {
|
||||||
|
alert(fileReader.error);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
let start = document.getElementById("start");
|
||||||
|
start.addEventListener("mouseover", () => {
|
||||||
|
start.innerHTML = "pwease pwess mee hawwd mastaaa! UwU~"
|
||||||
|
});
|
||||||
|
start.addEventListener("click", () => {
|
||||||
|
alert(input);
|
||||||
|
});
|
||||||
|
</script>
|
Loading…
Reference in New Issue
Block a user