#include <stdio.h>
int front = 0;
int rear = 0;
int que[100];
void enque(int x){
que[rear++] = x;
}
int size(){
return rear - front;
}
int main() {
int arr[] = {101, 102, 103, 104};
int n = 4;
for (int i = 0; i < n; i++) {
enque(arr[i]);
}
int time = 3;
int answer = size() * time;
printf("%d", answer);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: