- Hello, World!
保存
- @ 2026-5-24 15:35:54
a.cpp
#include<bits/stdc++.h>
#include<chrono>
#include<thread>
using namespace std;
typedef long long ll;
typedef string str;
//生成随机数
int getRandom(int minVal/*最小值*/,int maxVal/*最大值*/){
static mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
uniform_int_distribution<int> dist(minVal, maxVal);
return dist(rng);
}
int main(){
return 0;
}
ly.h(未完成)
#include<bits/stdc++.h>
#include<windows.h>
typedef long long ll;
typedef std::string str;
namespace ly{
void sout(str s,ll sleepms){
for(int i=0;i<s.size();i++){
std::cout<<s[i];
Sleep(sleepms);
}
}
}
2 条评论
-
曹莫凡 @ 2026-5-28 16:13:58?????
-
@ 2026-5-28 16:13:50ddwadwawadawdwaddawd
- 1
信息
- ID
- 1
- 时间
- ms
- 内存
- MiB
- 难度
- 5
- 标签
- (无)
- 递交数
- 29
- 已通过
- 15
- 上传者