我想爲我的大學項目編寫一個程序程序應該這樣做先到先得調度我已經想到了很多關於這個功能,但我不知道如何使它工作,我總是得到分割錯誤:11,我也試圖使用temp.at(j),但它給了我分割錯誤:6,我試圖儘量減少向量,所以它會通過在函數外部聲明矢量進行入站,然後使用temp.size()而不是進程,但它也沒有工作。 void FCFS(Process ProcessDetails[], int Pro
這是問題陳述:codechef problem 我的代碼是: #include<stdio.h>
#include<string.h>
char p[100];
char n[100][100];
int main()
{
int a,c=0;
int x,y,z=0;
scanf("%d",&a);
我沒有得到什麼不對這個 #include <cs50.h>
#include <stdio.h>
#include <ctype.h>
int main()
{ // prints the initials of a name
printf("Enter the name: ");
string s = get_string();
int n= 0;