// SysY 运行库实现: // - 按实验/评测规范提供 I/O 等函数实现 // - 与编译器生成的目标代码链接,支撑运行时行为 #include #include"sylib.h" /* Input & output functions */ int getint(){int t; scanf("%d",&t); return t; } int getch(){char c; scanf("%c",&c); return (int)c; } int getarray(int a[]){ int n; scanf("%d",&n); for(int i=0;i