#include #include /*-->| only interpreter void *stdout_write = eval("sys.stdout.write") void *stdout_flush = eval("sys.stdout.flush") sys_exec("global math ; import math") double M_PI = eval("math.pi"); void *sin = eval("math.sin"); |<--*/ // only interpreter //|--> only compiler void stdout_write(char *s) { printf("%s", s); } void stdout_flush(void) { fflush(stdout); } //<--| // only compiler void show_str(char *s) { stdout_write(s); stdout_flush(); } void show_spc(int n) { int i; for (i=0; i