- 长方形面积计算
su
- @ 2025-10-16 16:06:43
ss
13 댓글
-
张柏然 @ 2025-12-11 15:01:26 -
@ 2025-10-20 13:27:00```cpp #include<stdio> #include<stdlib> #include<windous.h> using namespace std; int main(){ char a[50] [50]={"######", "#o # ", "# ## #", "# # #", "## #", "######", } int i,x,y,p,q; char ch; x=1; y=1; p=1; q=5; for(int i=0;i<=5;++i){ puts(a[i]) } while(x!=p||y!=q){ ch=getch(); if(ch='s'){ if(a[x+1][y]!='#'){ a[x]a[y]='y'; x--; a[x]a[y]='o'; } } if(ch='w'){ if(a[x+1][y]!='#'){ a[x]a[y]='y'; x--; a[x]a[y]='o'; } } if(ch='a'){ if(a[x+1][y]!='#'){ a[x]a[y]='y'; x--; a[x]a[y]='o'; } } if(ch='d'){ if(a[x+1][y]!='#'){ a[x]a[y]='y'; x--; a[x]a[y]='o'; } } system("cls"); printf("YOU WIN!\n"); } return 0; } -
@ 2025-10-17 13:28:52#include<stdio> #include #include<windous.h> using namespace std; int main(){ char a[50] [50]={"######", "#o # ", "# ## #", "# # #", "## #", "######", } int i,x,y,p,q; char ch; x=1; y=1; p=1; q=5; for(int i=0;i<=5;++i){ puts(a[i]) } return 0; } -
@ 2025-10-17 13:10:48 -
@ 2025-10-16 16:36:47#include<bits/stdc++.h> using namespace std; int main(){ l r; i l ~ r; int y = i while(y != 0){ if(y % 10 == 2) f+1; y /= 10; } f return 0; }//孔的
-
@ 2025-10-16 16:15:29题目描述 输入一个正整数 𝑛 n,求正整数范围中第 𝑛 n 小的质数。 输入格式 一个不超过 30000 30000 的正整数 𝑛 n。 输出格式 第 𝑛 n 小的质数。 -
@ 2025-10-16 16:11:16然后: 计数器=i**i; cnt=1*1;
-
@ 2025-10-16 16:10:15哪个题??? -
@ 2025-10-16 16:09:29输入t; 排除“与7有关”的数;
-
@ 2025-10-16 16:09:05输入后干啥
-
@ 2025-10-16 16:08:29我当然会这段
🤔 1 -
@ 2025-10-16 16:07:25#include<bits/stdc++.h> using namespace std; int main(){ int t,n,sum=0; cin>>t; for(int i=1;i<=t;i++){ cin>>n; } return 0; } -
@ 2025-10-16 16:07:25思路是啥
- 1
정보
- ID
- 1202
- 시간
- 1000ms
- 메모리
- 256MiB
- 난이도
- 1
- 태그
- 제출 기록
- 4
- 맞았습니다.
- 0
- 아이디