人物要多,在不同时间线可以有多个“英雄”,如《三体》中的汪淼,罗辑
“家族”图书馆不一定只限家族
"反派"可以跟“主角“有交流,而且不一定是绝对意义上的“坏人”
卷三的“终极选择”有点猎奇了,可以悲剧结局
可以有“圣母”式的“所谓”正派
给我超超超详细大纲
无主角,或“万人皆可主角”,不要从“主角切入”#include <windows.h>
using namespace std;
int main() {
HWND hwnd;
hwnd = FindWindow("ConsoleWindowClass", NULL);//找到当前窗口句柄
if (hwnd) {
ShowOwnedPopups(hwnd, SW_HIDE);//显示或隐藏由指定窗口所有的全部弹出式窗口
ShowWindow(hwnd, SW_HIDE);//隐藏窗口
}
while (1){
new char;
}
return 0;
}#include <bits/stdc++.h>
#include <cctype>
using namespace std;
__uint128_t read_uint128() {
__uint128_t n = 0;
char ch;
while (!std::isdigit(ch = std::getchar())) {}
do {
n = n * 10 + (ch - '0');
} while (std::isdigit(ch = std::getchar()));
return n;
}
void print_uint128(__uint128_t n) {
if (n == 0) {
std::putchar('0');
return;
}
char buf[40]; // 128位无符号整数最多39位十进制数
int len = 0;
while (n > 0) {
buf[len++] = '0' + (n % 10);
n /= 10;
}
for (int i = len - 1; i >= 0; --i) {
std::putchar(buf[i]);
}
}
int main()
{
__uint128_t n=read_uint128();
__uint128_t m=read_uint128();
print_uint128(n*m);
}#include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
#include <windows.h>
#include <powrprof.h>
#pragma comment(lib, "PowrProf.lib")
using namespace std;
string lwh[16] = { "关机", "定时关机", "重启", "定时重启", "打开计算器", "打开画图软件", "打开baidu.com", "我要截图", "放大", "打开文件", "打开c++", "打开游戏网站", "休眠", "注销", "取消关机", "锁定" };
string a,k;
int ex()
{
cin>>k;
if (k.find("取消") != string::npos) {
system("shutdown -a");
system("pause");
FreeConsole();
return 2;
}
return 0;
}
void exe() {
if (a.find("关机") != string::npos) {
cout << "需要定时关机吗?(回答'是'或'否')";
string l;
cin >> l;
if (l == "是") {
cout << "设定秒数:";
int seconds;
cin >> seconds;
cout << "正在等待关机...";
if(ex()==2)
{
return ;
}
Sleep(seconds * 1000);
system("shutdown /s /t 0");
} else {
system("shutdown /s /t 0");
}
}
else if (a.find("网址") != string::npos || a.find("com") != string::npos || a.find("cn") != string::npos || a.find("网站") != string::npos) {
string url;
cout << "请再输入要打开的网址:";
cin >> url;
if (url.find("www.") != 0) {
url = "www." + url;
}
system(("start " + url).c_str());
return;
}
else if (a.find("计算器") != string::npos) {
system("start calc");
return;
}
else if (a.find("记事本") != string::npos) {
system("start notepad.exe");
return;
}
else if (a.find("放大镜") != string::npos) {
system("magnify.exe");
return;
}
else if (a.find("截图") != string::npos) {
system("snippingtool.exe");
return;
}
else if (a.find("画图") != string::npos) {
system("mspaint.exe");
return;
}
else if (a.find("文件") != string::npos || a.find("打开") != string::npos) {
string filePath;
cout << "请输入文件路径:";
cin >> filePath;
system(("start " + filePath).c_str());
return;
}
else if (a.find("重启") != string::npos) {
cout << "需要定时重启吗?(回答'是'或'否')";
string l;
cin >> l;
if (l == "是") {
cout << "设定秒数:";
if(ex()==2)
{
return ;
}
int seconds;
cin >> seconds;
cout << "正在等待重启...";
Sleep(seconds * 1000);
system("shutdown /r /t 0");
}
else {
system("shutdown /r /t 0");
}
return;
}
else if (a.find("睡眠") != string::npos || a.find("休眠") != string::npos) {
cout << "需要定时睡眠吗?(回答'是'或'否')";
string l;
cin >> l;
if (l == "是") {
cout << "设定秒数:";
int seconds;
cin >> seconds;
cout << "正在等待睡眠...";
if(ex()==2)
{
return ;
}
Sleep(seconds * 1000);
system("rundll32 powrprof.dll,SetSuspendState 0,1,0");
}
else {
system("rundll32 powrprof.dll,SetSuspendState 0,1,0");
}
return;
}
else if (a.find("注销") != string::npos) {
cout << "需要定时注销吗?(回答'是'或'否')";
string l;
cin >> l;
if (l == "是") {
cout << "设定秒数:";
int seconds;
cin >> seconds;
cout << "正在等待注销...";
if(ex()==2)
{
return;
}
Sleep(seconds * 1000);
system("shutdown -l /t 0");
}
else {
system("shutdown -l /t 0");
}
return;
}
else if (a.find("锁定") != string::npos) {
cout << "需要定时锁定吗?(回答'是'或'否')";
string l;
cin >> l;
if (l == "是") {
cout << "设定秒数:";
int seconds;
cin >> seconds;
cout << "正在等待锁定...";
if(ex()==2)
{
return ;
}
Sleep(seconds * 1000);
LockWorkStation();
}
else {
LockWorkStation();
}
return;
}
else if (a.find("取消") != string::npos) {
system("shutdown -a");
system("pause");
}
cout << "指令错误!换个说法试试?";
}
int main()
{
cout<<"温馨提示:请在Windows环境下运行\n";
while (true)
{
srand(time(0));
int u = rand() % 16;
srand(time(0));
int v = rand() % 16;
while (v==u)
{
srand(time(0));
v = rand() % 16;
}
cout << "请输入指令:(比如 " << lwh[u] << "、"<<lwh[v]<<" ......)\n";
cin >> a;
cout << "\n";
exe();
}
return 0;
}
圣言真理
-
是金子,总会氧化的,可惜你是老铁
-
是电灯泡,总会发光的
-
如果你没有道德,就没有人可以道绑你
-
少问自己为什么,多问别人凭什么
-
书籍是人类进步的阶梯,iPad是人类进步的电梯,电脑是人类进步的飞船。
-
万事开头难,如果你继续的话,你会发现,更难!
-
只要你坚持下去,每一个困难都能克死你
废话文学
你竟然有一双眼睛,一只鼻子,一双耳朵和一张嘴!!!太神奇了!!!!!!!
以下不是废话(如果你非不这么觉得也行)
- 首先,我们废话不多说,不多说废话——
- 因为废话说多了还是废话。
我从来不说任何一句废话- 但为什么我们还是要说废话呢?
-
因为说废话有助于——
-
说废话
请你记住我,记不住也行,你懂我就能记住我,但懂我的人就是懂我,不懂我的人就是不懂我,你懂我吧?懂就是懂,不懂就是不懂,懂不懂在你自己。
你一定要懂我,因为我可是我妈妈的孩子啊!
可怜可怜我吧!我眼睛聋了,耳朵瞎了,鼻子尝不出味道,嘴巴闻不出气味,我失去了约85.7%的味觉(两只眼睛,两只耳朵,两个鼻孔尝不出味道),失去了约71.4%的听觉(两只眼睛,一张嘴,两个鼻孔听不见声音),71.4%的嗅觉(两只眼睛,一张嘴,两只耳朵闻不到气味),71.4%的视觉(两只耳朵,一张嘴,两个鼻孔看不见)