Long time no see

This commit is contained in:
2026-02-21 10:47:00 +07:00
parent 0d54fe176e
commit b7df98a55c
198 changed files with 3249 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
#include <stdio.h>
#include <wchar.h>
#include <locale.h>
int main() {
setlocale(LC_ALL, "");
wchar_t s[256];
wchar_t c;
int n = 0, st = 0;
while(st == 0){
wscanf(L"%lc", &c);
st = (c == '\n');
s[n] = c;
n = n + (1 - st);
}
while(n > 0) {
n -= 1;
wprintf(L"%lc", s[n]);
}
printf("\n");
return 0;
}