1 solutions

  • 0
    @ 2024-12-10 21:47:36

    C :

    #include<stdio.h>
    #include<stdlib.h>
    
    int main()
    {
    	int n;
    	scanf("%d", &n);
    	int *num = (int *)malloc(n*sizeof(int));
    	int i;
    	for(i = 0; i < n; i++)
    	{
    		scanf("%d", &num[i]);
    	}
    	for(i = 0; i < n; i++)
    	{
    		printf("%c", num[i]);
    	}
    	return 0;
    }
    
    • 1

    【设计型】第11章:指针和数组 11.10 ASCII码

    Information

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