0_0_30158071_2441.cpp: In function 'int main()':
0_0_30158071_2441.cpp:13:5: error: 'i' was not declared in this scope
t[i] = (h%12)*3600 + m*60 + s - t0;
^
0_0_30158071_2441.cpp:16:11: error: 'n' was not declared in this scope
sort(t,t+n);
^
0_0_30158071_2441.cpp:19:3: error: 'x1' was not declared in this scope
x1=min(x1,t[i]*2+inf-t[i+1]);
^
0_0_30158071_2441.cpp:21:3: error: 'x1' was not declared in this scope
x1=min(x1,2*(inf-t[i])+t[i-1]);
^
0_0_30158071_2441.cpp:22:19: error: 'x1' was not declared in this scope
printf("%d.00\n",x1*6);
^
|