<commit_before>/* Nopea seula! */

#include <iostream>
#include <vector>

using namespace std;

vector<unsigned int> givePrimes(unsigned int n) {
		vector<unsigned int> primes;
		vector<bool> arePrimes(n + 1, true);

		for (unsigned int i = 2; i < n + 1; ++i) {
				if (arePrimes[i]) {
						primes.push_back(i);
						for (unsigned int j = 2 * i; j < n + 1; j += i) {
								arePrimes[j] = false;
						}
				}
		}

		return primes;
}

int main() {
		unsigned int n;
		cout << "Primes between 1-N. Give N: ";
		cin >> n;

		vector<unsigned int> primes = givePrimes(n);
		long long int primeSum = 0LL;
		for (unsigned int i = 0; i < primes.size(); ++i) {
				//cout << i+1 << ": " << primes[i] << endl;
				primeSum += primes[i];
		}
		cout << primeSum << endl;

		return 0;
}<commit_msg>Really fix them indentations..<commit_after>/* Nopea seula! */

#include <iostream>
#include <vector>

using namespace std;

vector<unsigned int> givePrimes(unsigned int n) {
	vector<unsigned int> primes;
	vector<bool> arePrimes(n + 1, true);

	for (unsigned int i = 2; i < n + 1; ++i) {
		if (arePrimes[i]) {
			primes.push_back(i);
			for (unsigned int j = 2 * i; j < n + 1; j += i) {
				arePrimes[j] = false;
			}
		}
	}

	return primes;
}

int main() {
	unsigned int n;
	cout << "Primes between 1-N. Give N: ";
	cin >> n;

	vector<unsigned int> primes = givePrimes(n);
	long long int primeSum = 0LL;
	for (unsigned int i = 0; i < primes.size(); ++i) {
		//cout << i+1 << ": " << primes[i] << endl;
		primeSum += primes[i];
	}
	cout << primeSum << endl;

	return 0;
}
{'fraction_non_alphanumeric': 0.17307692307692307, 'fraction_numerical': 0.01282051282051282, 'mean_word_length': 2.912280701754386, 'pattern_counts': {'":': 2, '<': 49, '<?xml version=': 0, '>': 19, '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': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4063662', 'n_tokens_mistral': 698, 'n_tokens_neox': 596, 'n_words': 183}