摘要:
#include <stdio.h> int a[1010]; void Input(int n, int *a) { for(int i = 0; i < n; ++i) { scanf("%d", &a[i]); } } void Output(int n, int *a) { for(int 阅读全文
posted @ 2022-06-03 01:16
越菜越自信
阅读(20)
评论(0)
推荐(0)
摘要:
char vowels[] = "aeiouAEIOU"; bool isVowel(char c) { // (1) int i; for(i = 0; vowels[i]; ++i) { if(vowels[i] == c) { return true; } } return false; } 阅读全文
posted @ 2022-06-03 00:59
越菜越自信
阅读(31)
评论(0)
推荐(0)
摘要:
#define maxp 65536 #define ll long long int primes[maxp]; bool notprime[maxp]; // 1 void Eratosthenes() { notprime[1] = true; primes[0] = 0; for (int 阅读全文
posted @ 2022-06-03 00:39
越菜越自信
阅读(54)
评论(0)
推荐(0)