About Me

About Me : I have been working as a Software Engineer for various international companies for four years.Currently, I am working as a full stack Javascript developer in Petronas(Malaysia).

Skills

Skills • Javascript •Typescript •Python •C •Java •ReactJs • Redux • VueJs • NestJs • React Testing Library • Django• PostgreSQL • MySQL • NodeJs • Git • Docker • Jira • Visual Studio Code • Slack

শনিবার, ৩ মে, ২০১৪

UVA : 11462 - Age Sort

#include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;
 long int i,n,a[20000055];
int main (){

  while(scanf("%ld",&n)==1){
    if(n==0)break;
    for(i=0;i<n;i++){
      scanf("%ld",&a[i]);
    }

   sort(a,a+n);
    for(i=0;i<n;i++){
        printf("%ld",a[i]);
        if(i<(n-1))
            printf(" ");
    }
    printf("\n");

  }




return 0;
}

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন