<commit_before>
#include <bits/stdc++.h>
using namespace std;
 
void Sieve(int n)
{
    bool prime[n+1];
    memset(prime, true, sizeof(prime));
 
    for (int p=2; p*p<=n; p++)
    {
        if (prime[p] == true)
        {
            for (int i=p*2; i<=n; i += p)
                prime[i] = false;
        }
    }
 
    for (int p=2; p<=n; p++)
       if (prime[p])
          cout << p << " ";
}

int main()
{
    int n;
    cout<<"Enter n: ";
    cin>>n;
    cout << "Following are the prime numbers smaller "
         << " than or equal to " << n << endl;
    Sieve(n);
    return 0;
}<commit_msg>for n<2<commit_after>
#include <bits/stdc++.h>
using namespace std;
 
void Sieve(int n)
{
    bool prime[n+1];
    memset(prime, true, sizeof(prime));
 
    for (int p=2; p*p<=n; p++)
    {
        if (prime[p] == true)
        {
            for (int i=p*2; i<=n; i += p)
                prime[i] = false;
        }
    }
 
    for (int p=2; p<=n; p++)
       if (prime[p])
          cout << p << " ";
}

int main()
{
    int n;
    cout<<"Enter n: ";
    cin>>n;
    if(n>=2){
    cout << "Following are the prime numbers smaller than or equal to " << n << endl;
    Sieve(n);
	}
	else
	{
	cout<<"No prime numbers less than or equal to "<<n<<endl;	
	}
    return 0;
}
{'fraction_non_alphanumeric': 0.18597320724980299, 'fraction_numerical': 0.009456264775413711, 'mean_word_length': 1.8097345132743363, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 0, '>': 10, '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': '3940777', 'n_tokens_mistral': 507, 'n_tokens_neox': 489, 'n_words': 136}