1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
long int a = 100000; long int b = 21475; long f () { return ((long long) a * (long long) b) >> 16; } main () { if (f () < 0) abort (); exit (0); }