DISK
DISK
h>
void main() {
scanf("%d", &n);
d[0] = 0;
scanf("%d", &disk);
scanf("%d", &itail);
scanf("%d", &d[i]);
d[n + 1] = disk;
d[n + 2] = itail;
n = n + 3;
temp = d[i];
d[j] = d[j];
d[j] = temp;
if (disk == d[i]) {
dloc = i;
break;
if (tot < 0)
seek += tot;
if (tot < 0)
seek += tot;
seek += itail;