1 solutions

  • 0
    @ 2025-11-5 14:57:52

    C :

    #include<stdio.h>
    #include<stdlib.h>
    #include<string.h>
    #include<math.h>
    int main()
    {
    int count=0,i,j;
        for(i=7;;i=i+7)
      {
    	for(j=2;j<=6;j++)
    	{
    		if(i%j!=1)break;
    			if(j==6)
    			{
    				count=1;printf("%d",i);
    			}
    	}
    		if(count==1)break;
    	}
    return 0;
    }
    

    C++ :

    #include<iostream>
    using namespace std;
    int main()
    {
      cout<<301;
    
      return 0;
    }
    

    Pascal :

    PROGRAM AA;
    BEGIN
     WRITE('301');
    END.
    
    • 1

    Information

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