1 solutions

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

    C :

    # include <stdio.h>
    int main()
    {
      int a, b, c, d ;
      scanf("%d %d\n%d %d\n",&a,&b,&c,&d);
      printf("%d\n%d\n",a+b,c+d);
      return 0;
    }
      
    

    C++ :

    #include<stdio.h>
    int main()
    {
    	int a,b;
    	while (scanf("%d%d",&a,&b)!=EOF)
    	{
    		printf("%d\n",a+b);
    	}
    	return 0;
    }
    
    • 1

    Information

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