mirror of
https://github.com/xlucn/PAT.git
synced 2026-08-18 09:28:49 +08:00
a1014: initialize array to make sure it runs correctly
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
||||
int main()
|
||||
{
|
||||
int N, M, K, Q, query;
|
||||
int time[1000], queue[20][11] = {{0}};
|
||||
int time[1000] = {0}, queue[20][11] = {{0}};
|
||||
int front[20] = {0}, rear[20] = {0}, length[20] = {0};
|
||||
|
||||
scanf("%d %d %d %d", &N, &M, &K, &Q);
|
||||
|
||||
Reference in New Issue
Block a user