题意:有长度为n的数组a,求对所有数字取模都不等于0的最小数字(x>2)
分析:算出最小的且不在数组里的素数
#include<bits/stdc.h>
using namespace std;
typedef long long ll;
const int N5e610;
bool is_prime[N];
ll …
题意:“OpenAI API VBA 函数返回 #Value!,但 MsgBox 显示响应” 问题背景:
I am trying to integrate the OpenAI API into Excel. The http request to OpenAI chat completion works correctly and the response is OK. When I display it…