<commit_before>/*
作者:千里冰封
题目:p1169 传纸条
*/


#include <stdio.h>
#include <stdlib.h>

struct node {
	int from;
	int to;
	int val;
} a[100001 << 1];
int uset[20001 << 1];
int n;
size_t m;

int compare(const void *a, const void *b) {
	return ((struct node *) a)->val < ((struct node *) b)->val;
}

int find(int shit) {
	return uset[shit] == shit ? shit : (uset[shit] = find(uset[shit]));<commit_msg>看错题号了。。。我真是智障 :cry:<commit_after>/*
作者:千里冰封
题目:p1069 关押罪犯
*/


#include <stdio.h>
#include <stdlib.h>

struct node {
	int from;
	int to;
	int val;
} a[100001 << 1];
int uset[20001 << 1];
int n;
size_t m;

int compare(const void *a, const void *b) {
	return ((struct node *) a)->val < ((struct node *) b)->val;
}

int find(int shit) {
	return uset[shit] == shit ? shit : (uset[shit] = find(uset[shit]));
{'fraction_non_alphanumeric': 0.19698870765370138, 'fraction_numerical': 0.04265997490589712, 'mean_word_length': 4.050632911392405, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 4, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3250795', 'n_tokens_mistral': 390, 'n_tokens_neox': 371, 'n_words': 96}