struct

struct rec
{
    int x,y,z;
}f[maxn<<1];

f[++g]={y,x,z};
原文地址:https://www.cnblogs.com/cmyg/p/9599483.html