1 solutions
-
0
C++ :
#include<iostream> #include<bits/stdc++.h> using namespace std; long long n; char ch; string st; int main() { getline(cin,st); for(int i=0;i<=st.size();i++) { if(st[i]=='.') break; if(st[i]!=' '&&st[i]!='.') cout<<int(st[i])-96; else if(st[i]==' ') cout<<'#'; } return 0; } /************************************************************** Problem: 1082 User: 70508黄福涛 Language: C++ Result: 正确 Time:0 ms Memory:1536 kb ****************************************************************/
- 1
Information
- ID
- 1085
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- 10
- Tags
- # Submissions
- 2
- Accepted
- 1
- Uploaded By