fork(1) download
  1. import java.util.Scanner;
  2. class DeepSeek{
  3. public static void main(String[] args){
  4. Scanner deepseek = new Scanner(System.in);
  5. System.out.println("我是DeepSeek,请输入你的问题:");
  6. String q=deepseek.next();
  7. System.out.println(q);
  8. System.out.print("思考中");
  9. for(int i=0;i<3;i++){
  10. System.out.println(".");
  11. }
  12. System.out.println("服务器繁忙,请稍后再试");
  13. }
  14. }
  15.  
Success #stdin #stdout 0.17s 56628KB
stdin
A
stdout
我是DeepSeek,请输入你的问题:
A
思考中.
.
.
服务器繁忙,请稍后再试