sysy-data/quick_test/sy/6.sy

13 lines
218 B
Plaintext

#include "../../lib/thrd.h"
#include "../../lib/sylib.h"
int A[9] = {1, 1, 4, 5, 1, 4};
int main()
{
A[0] = 11;
int n = thrd_create(4);
A[n] = A[n] * 2;
thrd_join();
putarray(8, A);
return 0;
}