fork(1) download
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. char a, b = 'z', c = 'a', d = 'Z', e = 'A', f = '.', g = '/', h = '#';
  7. while(cin >> a){
  8. if(a <= b && a >= c){
  9. cout << a - f + g;
  10. }
  11. else if(a <= d && a > e){
  12. cout << a - f + g;
  13. }
  14. else if(a == c && a == e){
  15. cout << a - h;
  16. }
  17. }
  18. return 0;
  19. }
Success #stdin #stdout 0.01s 5284KB
stdin
bnqqdbs





stdout
9911111411410199116