This commit is contained in:
2025-11-23 02:17:17 +07:00
parent ca035a9c08
commit 07921674c9
15 changed files with 1102 additions and 391 deletions
+3 -3
View File
@@ -7,12 +7,12 @@ void clear(void){
int flush(void){
int c;
while ((c = getchar()) != '\n')
while ((c = getwchar()) != '\n')
if (c<32 && c!='\t') return 1;
return 0;
}
int end(int c){
if (c<32 && c!= '\n' && c!='\t') return 1;
return 0;
if (c<32 && c!= L'\n' && c!=L'\t') return 1;
return 0;
}