#include <stdio.h>
#include <conio.h>
#include <windows.h>
int main(void){
char ka;
int kb;
while(1){
printf("「a」か方向キー「↑」を押してください(Ctrl-Zで終了)\n");
// kb=getch( );
// if (kb!=0){continue;}
ka=0;
if(kb==0x61){ka='a';}
if(kb==0x48){ka='u';}
if(kb==0x1A){break;}
Sleep(1000);}
else if(ka
=='u'){system("cls"); Sleep(1000);}
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxjb25pby5oPgojaW5jbHVkZSA8d2luZG93cy5oPgoKaW50IG1haW4odm9pZCl7CgljaGFyIGthOwoJaW50IGtiOwoKCXdoaWxlKDEpewoJCXN5c3RlbSgiY2xzIik7CgkJcHJpbnRmKCLjgIxh44CN44GL5pa55ZCR44Kt44O844CM4oaR44CN44KS5oq844GX44Gm44GP44Gg44GV44GEKEN0cmwtWuOBp+e1guS6hilcbiIpOwoKLy8JCWtiPWdldGNoKCApOwovLwkJaWYgKGtiIT0wKXtjb250aW51ZTt9CgoJCWtiPWdldGNoKCApOwoJCWthPTA7CgkJaWYoa2I9PTB4NjEpe2thPSdhJzt9CgkJaWYoa2I9PTB4NDgpe2thPSd1Jzt9CgkJaWYoa2I9PTB4MUEpe2JyZWFrO30KCgkJaWYoa2E9PSdhJyl7c3lzdGVtKCJjbHMiKTsKCQkJcHJpbnRmKCLvvYHjgYzmirzjgZXjgozjgb7jgZfjgZ8iKTsKCQkJU2xlZXAoMTAwMCk7fQoJCWVsc2UgaWYoa2E9PSd1Jyl7c3lzdGVtKCJjbHMiKTsKCQkJcHJpbnRmKCLihpHjgYzmirzjgZXjgozjgb7jgZfjgZ8iKTsKCQkJU2xlZXAoMTAwMCk7fQoJfQp9Cg==