题解 2831: 画矩形

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

编写题解 2831: 画矩形

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=2e5……

通俗易懂,简单明了

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b,c,d,i,j,k;    scanf("%d %d %c %d",&a,&b,&c,&d……

2831: 画矩形

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() {    int sum = 0, j, a, b, c, i;    char d;    scanf("%d……

2831: 画矩形

摘要:解题思路:注意事项:参考代码:l = list(input().split())a = int(l[0])b = int(l[1])if l[3] == &#39;0&#39;:    print(b……

编写题解 2831: 画矩形

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,b;bool d;char c;cin>>a>>b……

for 语句 画矩形

摘要:解题思路:从上到下,自左向右输出注意事项:第一行和最后一行任何时候都需要全部输出参考代码:#include<iostream>using namespace std;int main(){    in……

用for循环画矩形

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main {    public static void main(String[] args……

画矩形行行

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int a,b,k;    char c;    c……

2831: 画矩形

摘要:参考代码:high, wide, s, flag = map(str, input().split()) for i in range(int(high)):     for j in range……