I got TLE? whats wrong with the following code? [c] #include <stdio.h> int main(void) { int result, m, n; while(scanf("%d%d", &m, &n) != EOF) { if(m == 0) break; result = 1; while(n--) result = (result * m) % 10; printf("%d\n", result); } return 0; } [/c]