AI网站(仅作参考)
jxhanchenyu43 · · 休闲·娱乐
互关 Ctrl+Shift+Space
https://sudachi.top/2025/01/27/mc-launcher/index.html
https://afdian.com/a/versejava
https://www.verselauncher.cn/
reg add "HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet" /v NoActiveProbe /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet" /v EnableActiveProbing /t REG_DWORD /d 1 /f
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator" /v NoActiveProbe /f
https://pcl2.aoe.top/#google_vignette
https://d189209444b84deeba021f2a6ddff193.app.codebuddy.work/#/home
https://4kk2vndph20f9.aiforce.cloud/app/app_179wq64ey1t
https://4kjw7twv3v6au.aiforce.cloud/app/app_179uwwj7uwd
#include <bits/stdc++.h>
using namespace std;
int n, m, w;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
int rand(int l, int r) {
assert(l <= r);
return uniform_int_distribution<>(l, r)(rng);
}
int main() {
scanf("%d%d%d", &n, &m, &w);
printf("%d %d\n", n, m);
for (int i = 1; i <= n; i ++) printf("%d%c", rand(1, w), " \n"[i == n]);
return 0;
}
就是对于给定的 n,m,w,数据生成器会随机生成 n 个值域在 [1,w] 内的数
https://chat.baidu.com/search/12104520144823157876?enter_type=home_tab
#include<bits/stdc++.h>
using namespace std;
int main(){
int a;
cin>>a;
while(0){
while()
}
}
https://www.luogu.com.cn/ticket/BXBU583558
https://oier.baoshuo.dev/
https://www.microsoft.com/zh-cn/edge/download?form=MA13FJ
cc
ccc
超牛
腾讯青科实训营
codebuddy
AI本地部署
好看的
决战开始的地方
洛谷
梦想开始的地方
openMAIC开源课件模型
小龙虾
QClaw 官网
WorkBuddy
通用热门 AI 网站大全
豆包
通义千问
ChatGPT
Claude
讯飞星火
AI 编程与开发 (Code & Dev)
GitHub Copilot
OpenClaw (开源)
AI 内容生成 (Content Generation)
Midjourney
Suno
Canva
AI 学习与研究 (Learning & Research)
OpenAI
Hugging Face
文心一言 (ERNIE)
Kimi (Moonshot AI)
智谱清言 (GLM)
DeepSeek
豆包
Gemini (Google)
DALL·E 3
Stable Diffusion WebUI
即梦 AI
Lexica.art
Runway Gen-3
Pika Labs
可灵 AI (Kling)
ElevenLabs
科大讯飞听见
五、AI 编程 / 开发工具
Cursor
CodeLlama (Meta) 开源
Replit
AI 办公 / 写作 / 效率
Notion AI
Grammarly
秘塔写作猫
ModelScope (魔搭)
教练
教练加强
Kimi 网页版 (Moonshot AI)
DeepSeek 通用版
Z-Image
LiblibAI (灵境)
超能玩
#include <bits/stdc++.h>
using namespace std;
int main () {
int b=10;
string a;
cin>>a;
cout<<stoll(a,0,b);
}
#include <iostream>
#include <windows.h>
using namespace std;
int main() {
int a,b,c;
cin>>a>>b>>c;
while(1){
system("cls");
cout<<a<<":"<<b<<":"<<c;
c++;
if(c>59){
c=0;
b++;
}
if(b>59){
c=0;
b=0;
a++;
}
if(a>24){
c=0;
b=0;
a=0;
}
Sleep(950);
system("cls");
}
}
牛逼
#include<bits/stdc++.h>
using namespace std;
int main(){
for(int i=0;i<1000;i++){
for(int j=0;j<1000;j++){
cout<<char((i+j)%26+26);
}
cout<<endl;
}
return 0;
}
数字
#include<bits/stdc++.h>
using namespace std;
int main(){
for(int i=0;i<1000;i++){
for(int j=0;j<1000;j++){
cout<<char((i+j)%26+32);
}
cout<<endl;
}
return 0;
}
字母
#include<bits/stdc++.h>
using namespace std;
int main(){
for(int i=0;i<1000;i++){
for(int j=0;j<1000;j++){
cout<<char((i+j)%26+65);
}
cout<<endl;
}
return 0;
}
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
int old_number = n;
int new_number = 0;
while (n != 0) {
new_number = new_number * 10 + n % 10;
n /= 10;
}
if (old_number == new_number)
cout << "对称数";
else
cout << "非对称数";
return 0;
}
#include<bits/stdc++.h>
using namespace std;
string getCurrentTime() {
time_t now = time(0);
tm* ltm = localtime(&now);
string time_str = to_string(1900 + ltm->tm_year) + "-"
+ to_string(1 + ltm->tm_mon) + "-"
+ to_string(ltm->tm_mday) + " "
+ to_string(ltm->tm_hour) + ":"
+ to_string(ltm->tm_min) + ":"
+ to_string(ltm->tm_sec);
return time_str;
}
int main(){
cout<<getCurrentTime();
return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,h=0;
cin>>a;
for(int i=1;i<=a;i++){
bitset<32>b(i);
string c=b.to_string();
c.erase(0, c.find_first_not_of('0'));
int d=c.size()-1,f=0,g=0;
string e;
while(d>=0){
e[f]=c[d];
f++;
d--;
}
for(int j=0;j<=c.size()/2;j++){
if(c[j]!=e[j])g++;
}
if(g==0)h++;
}
cout<<h;
return 0;
}
万能日历:
#include<bits/stdc++.h>
#include<Windows.h>
using namespace std;
string getCurrentTime(){
time_t now = time(0);
tm* ltm = localtime(&now);
string time_str = to_string(1900 + ltm->tm_year) + "-"
+ to_string(1 + ltm->tm_mon) + "-"
+ to_string(ltm->tm_mday) + " "
+ to_string(ltm->tm_hour) + ":"
+ to_string(ltm->tm_min) + ":"
+ to_string(ltm->tm_sec);
return time_str;
}
int main(){
while(1){
cout<<getCurrentTime();
Sleep(100);
system("cls");
}
return 0;
}
#include <iostream>
#include <winsock2.h>
#include <thread>
#include <vector>
#include <mutex>
#include <cstring>
using namespace std;
#pragma comment(lib,"ws2_32.lib")
#define PORT 9999
vector<SOCKET> clients;
mutex mtx;
// 广播消息给所有客户端
void broadcast(const char* msg) {
mtx.lock();
for (SOCKET s : clients) {
send(s, msg, strlen(msg), 0);
}
mtx.unlock();
}
// 处理单个客户端
void handleClient(SOCKET client) {
char buf[1024];
while (1) {
memset(buf, 0, 1024);
int len = recv(client, buf, 1024, 0);
if (len <= 0) {
break;
}
cout << "客户端消息:" << buf << endl;
broadcast(buf);
}
// 移除断开的客户端
mtx.lock();
for (auto it = clients.begin(); it != clients.end(); ++it) {
if (*it == client) {
clients.erase(it);
break;
}
}
mtx.unlock();
closesocket(client);
cout << "客户端断开,当前在线:" << clients.size() << endl;
}
int main() {
WSADATA wsaData;
WSAStartup(MAKEWORD(2, 2), &wsaData);
SOCKET server = socket(AF_INET, SOCK_STREAM, 0);
sockaddr_in addr;
addr.sin_family = AF_INET;
addr.sin_port = htons(PORT);
addr.sin_addr.s_addr = htonl(INADDR_ANY); // 自动绑定本机IP
if (bind(server, (sockaddr*)&addr, sizeof(addr)) == SOCKET_ERROR) {
cout << "绑定失败!错误码:" << WSAGetLastError() << endl;
return -1;
}
listen(server, SOMAXCONN);
cout << "==== 服务端已启动,端口:" << PORT << " ====" << endl;
while (1) {
SOCKET client = accept(server, NULL, NULL);
if (client == INVALID_SOCKET) continue;
mtx.lock();
clients.push_back(client);
mtx.unlock();
cout << "新客户端连接!当前在线:" << clients.size() << endl;
thread(handleClient, client).detach();
}
closesocket(server);
WSACleanup();
return 0;
}
AI开始的地方