1 solutions

  • 0
    @ 2025-11-5 16:51:04

    C :

    #include<stdio.h>
    int main()
    {
    	int T;
    	int ans,n;
    	//freopen("in.txt", "r", stdin);
        //freopen("out.txt", "w", stdout);
    	scanf("%d",&T);
    	while(T--){
    		scanf("%d",&n);
    		ans=2020-n+1;
    		if(ans<1)
    			printf("同学,你穿越了\n");
    		else
    			printf("%d\n",ans);
    	}	
    	//fclose(stdin);
        //fclose(stdout);
    	return 0;
    }
    
    • 1

    Information

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