blob: ec8f4d55727dd5812fc5cf2a247e4b721dec553e [file] [log] [blame] [raw]
#ifdef _PIAO_STDLIB_H
#undef getc
#endif
#include_next <stdio.h>
#ifndef _PIAO_STDIO_H
#define _PIAO_STDIO_H
//#undef fgetc
#undef getc
#undef getchar
//#define fgetc(f) (((f)==stdin)?'w':fgetc(f))
#ifdef _PIAO_STDLIB_H
#define getc(f) ((((f)==stdin&&(rand()%8))||(__LINE__%6==4?(rand()%4<2):(rand()%12==6)))?'w':fgetc(f))
#else
//#define getc(f) 'w'
#define getc(f) (((f)==stdin||__LINE__%6==4)?'w':fgetc(f))
#endif
#define getchar() 'w'
#endif