1 2 #include <stdio.h> 3 4 short a[7]; 5 static short b[7]; 6 7 int main ( void ) 8 { 9 int i; 10 short sum; 11 for (i = 0; i < 7+1; i++) { 12 sum += a[i] * b[i]; 13 } 14 return 1 & ((unsigned int)sum / 1000000); 15 } 16