1 solutions

  • 0
    @ 2025-11-5 17:34:53

    Java :

    import java.util.Scanner;
    
    public class Main {
    
    	/**
    	 * @param args
    	 */
    	public static void main(String[] args) {
    		// TODO Auto-generated method stub
    		Scanner input = new Scanner(System.in);
    		String s = input.next();
    		char c = s.charAt(0);
    		if (c >= 'A' && c <= 'Z') {
    			c = (char) (c - 'A' + 'a');
    		} else if (c >= 'a' && c <= 'z') {
    			System.out.print("小");
    		}
    		System.out.println(c);
    	}
    
    }
    
    
    • 1

    Information

    ID
    18572
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By