【Arknights】
TOP
https://yorg.io/https://kiomet.com/IO
https://iogames.space/https://generals.io/https://digdig.io/https://florr.io/重开模拟器
oj学生模拟器-时庆钰
https://qoj.ac/files/Little09sLife/index.htmlhttps://qoj.ac/files/OItrainer-main/game.htmlhttps://bj8z.zeabur.app/来自洛谷
https://quiets.vip/ga.htmlhttps://sandspiel.club/https://dinoswords.gg/倍增系列
https://lolitalibrary.com/maomao/#https://evolve.g8hh.com/https://kuakua.app/games/cookie-clicker其他的
信任的进化(不是GAME)
https://dccxi.com/trust/模板
不会真有人来看吧
#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
ios::sync_with_stdio(0);
cin.tie(0),cout.tie(0);
return 0;
}模板-快速幂取模
#include <bits/stdc++.h>
#define int long long
using namespace std;
//pow(g, k)是浮点数运算,对大数取模会因精度丢失导致结果错误,必须用快速幂取模替代。
int mode(int a,int b,int m){
int sum=1;
a = a%m;
while(b>0){
if (b%2==1){
sum = (sum*a)%m;
b--;
}
b /= 2;
a = (a*a)%m;
}
return sum;
}
signed main(){
ios::sync_with_stdio(0);
cin.tie(0),cout.tie(0);
int a,b,m;
cin>>a>>b>>m;
cout<<mode(a,b,m);
return 0;
}模板-在STL中使用结构体
#include<bits/stdc++.h>
#define int long long
using namespace std;
//在STL中使用结构体(以set为例)
struct Student{
int num;
string name;
int score;
//重载operator<(在定义时默认使用less<T> <(升序) 排序)
bool operator<(const Student &s) const
{
//按分数升序,分数相同按学号升序
if(score<s.score||(score==s.score&&num<s.num)){
return true;
}else{
return false;
}
}
/*
//重载operator<(在定义时使用greater<T>应改为 >(降序) 排序)
bool operator>(const Student &s) const
{
//按分数降序,分数相同按学号降序
if(score>s.score||(score==s.score&&num>s.num)){
return true;
}else{
return false;
}
}
*/
};
signed main(){
ios::sync_with_stdio(0);
cin.tie(0),cout.tie(0);
set<Student> s;//这样写等价于set<Student,less<Student> > s;
//set<Student,greater<Strdent> > s; >(降序) 排序
Student s1 = {2,"lcw",100};
Student s2 = {3,"yzh",97};
Student s3 = {1,"lky",98};
Student s4 = {5,"xlx",100};
Student s5 = {1,"lky",98};//会自动去重
Student s6 = {4,"fr",99};
s.insert(s1);
s.insert(s2);
s.insert(s3);
s.insert(s4);
s.insert(s5);
s.insert(s6);
//定义迭代器it
set<Student>::iterator it;
for (it=s.begin();it!=s.end();it++){
cout<<it->num<<" "<<it->name<<" "<<it->score<<endl;
}
return 0;
}直达-RE Aoharu x Luminous Memory
直达-Sacred Play Secret Place - Matryoshka
一些尾图
https://api.anosu.top/img/?sort=https://img.xjh.me/random_img.php?type=