6 solutions
- 1
Information
- ID
- 919
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 2
- Tags
- # Submissions
- 95
- Accepted
- 56
- Uploaded By
#include <bits/stdc++.h>
using namespace std;
int main() {
char s[] = "Hello";
char * p;
for(p = s;*p != '\0';p++)// 在该行补充你的代码
cout << * p;
return 0;
}
#include <bits/stdc++.h> using namespace std;
int main() { char s[] = "Hello"; char * p; for(p=s;*p!='\0';p++) cout<<*p; return 0; }
#include<bits/stdc++.h>
using namespace std;
int main() {
cout<<"Hello";
return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main() {
char s[] = "Hello";
char * p;
for(p=s;*p!='\0';p++)// p=s“先让p指针指向s的第一位”,*p!='\0'“如p不等于s的最后一位”
cout << * p;
return 0;
}
👎
屎
:(
:)
构式题目
By signing up a ZXOJ universal account, you can submit code and join discussions in all online judging services provided by us.