题解 1389: 程序员的表白

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

筛选

1389: 程序员的表白

摘要:C++处理字符串真方便#include <bits/stdc++.h> using namespace std; void print(int &n){     string border ……

1389: 程序员的表白(python解)

摘要:解题思路:通过while循环解题找规律注意事项:最后输出两个空行参考代码:while True:    a=int(input())    j=0    while(j<a):        prin……

程序员的表白(c++)

#include#include#include#include#include#include#includeusingnamespacestd;intmain(){inta;while(cin>>a){for(inti=1;i

程序员的表白

#程序员的表白c++代码实现**题目非常俏皮****......****原题链接:**[程序员的表白][https://www.dotcpp.com/oj/problem1389.html][https://www.dotcpp.com/oj/problem1389.html]:https://www

程序员的表白

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