补全9月11日至13日课评:为13名学生创建请假文档,为5个班级创建总结文档
This commit is contained in:
16
C++代码/学习/1.cpp
Normal file
16
C++代码/学习/1.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <bits/stdc++.h>
|
||||
#define endl '\n'
|
||||
using namespace std;
|
||||
|
||||
string n;
|
||||
|
||||
int main(){
|
||||
cin >> n;
|
||||
|
||||
for(int i = 0; i < n.size(); i++){
|
||||
if(n[i] == '4') cout << '8';
|
||||
else cout << n[i];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user