import java.util.Scanner; public class Main {     public static void answer(long n){         char[] c = {'0','1','2','3','4','5','6','7','8','9','`','!','@','#','$','%',                     '^','&','*','(',')','{','}','\\','<','>','?'};         long temp = n;         String answer = "";         while (temp != 0) { int x = (int)(temp % 27); answer = c[x] + answer; temp /= 27; }         System.out.println(answer);     }          public static void main(String[] args) {         Scanner in = new Scanner(System.in);         long n = in.nextLong();         answer(n);     } }
点赞 4

相关推荐

11-04 19:05
已编辑
东莞城市学院 单片机
不知道怎么取名字_:你这个要实习两年?哪有这么久的,感觉就是即使你毕业了,但还按实习的话,是不是不用给你缴社保公积金啥的
点赞 评论 收藏
分享
迷茫的大四🐶:价格这么低都能满了?
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务