首页 > 这是一道签到题
头像 HUAYI_SUN
发表于 2022-09-27 00:03:10
本题考察换行的应用:可用转义字符\n,或者endl. #include<iostream> using namespace std; int main() {     cout<<"zhe\n"< 展开全文
头像 coke040
发表于 2025-09-20 18:04:20
#include <iostream> #include <cstdio> #include <cmath> using namespace std; int main() { int a; scanf("%d",&a); int 展开全文
头像 牛客492819059号
发表于 2021-10-30 22:25:33
#include<stdio.h> int main() { printf("zhe\n"); printf("shi\n"); printf("yi\n"); printf("dao\n"); printf("qian\n"); printf("dao\n"); printf("ti\ 展开全文
头像 葫噜鱼
发表于 2022-07-25 22:44:32
int main() { int a[4]; scanf("%1d%1d%1d%1d", &a[0],&a[1],&a[2],&a[3]); printf("%1d%1d%1d%1d", a[3], a[2], a[1], a[0]); 展开全文
头像 思念傅悦洋薛家润
发表于 2022-07-04 15:47:15
要求输出指定内容运用cout函数达成,加上头文件,回车为endl 源代码: #include<bits/stdc++.h>//万能头文件 using namespace std; int main()//头文件 { cout<<"zhe"<<endl; cou 展开全文
头像 既原又崩
发表于 2023-09-19 18:38:42
基本语法 考验字符串输出与换行 c++ java python #include <bits/stdc++.h> using namespace std ; signed main() { cout << "zhe" << endl ; 展开全文
头像 chenRenning
发表于 2024-01-09 20:00:06
链接 #include <bits/stdc++.h> using namespace std ; int cnt[10] ; //记录1-9数字出现的次数 struct node { int a , b , c ; // a = b * c bool friend 展开全文
#include <bits/stdc++.h> using namespace std; int main( ) { for (int i = 1 ; i <= 3 ; i++) { cout << "Welcome to ACM / IC 展开全文