版本比较
无法接受的事实1
正文
增加 6 行删除 6 行
15 行未改动16171819202021222324252627272829303115 行未改动4748495051515253545523 行未改动79808182838384858687888990909192939416 行未改动11111211311411511511611711811912015 行未改动 scanf("%d %d",&x,&y); v[y].push_back(x); in[x]++; }
for(int i=1;i<=n;i++){ if(in[i]==0){ q.push(i); out[i]=1; } }
while(!q.empty()){ int now=q.front(); q.pop(); int length=v[now].size();15 行未改动 out[togo]%=8011200280112002; out[now]%=8011200280112002; } }
ans%=8011200280112002; printf("%d",ans); return 0;}23 行未改动 scanf("%d %d",&x,&y); v[y].push_back(x); in[x]++; }
for(int i=1;i<=n;i++){ if(in[i]==0){ q.push(i); out[i]=1; } }
while(!q.empty()){ int now=q.front(); q.pop(); int length=v[now].size();16 行未改动 out[togo]%=80112002; out[now]%=80112002; } }
ans%=80112002; printf("%d",ans); return 0;}```