## Search found 19 matches

Sat Oct 25, 2008 10:30 pm
Forum: Volume 114 (11400-11499)
Topic: 11495 - Bubbles and Buckets
Replies: 6
Views: 5027

### 11495 - Bubbles and Buckets

i have got tle using bubble sort
is there any different logic to solve this problem???
Thu Oct 23, 2008 8:00 pm
Forum: Volume 114 (11400-11499)
Topic: 11496 - Musical Loop
Replies: 9
Views: 4493

### Re: 11496 - Musical Loop

THANK'S......I HAVE GOT AC.
Wed Oct 22, 2008 7:56 pm
Forum: Volume 114 (11400-11499)
Topic: 11496 - Musical Loop
Replies: 9
Views: 4493

### 11496 - Musical Loop

CODE REMOVED AFTER AC
Sun Sep 07, 2008 7:11 pm
Forum: Volume 4 (400-499)
Topic: 488 - Triangle Wave
Replies: 270
Views: 31511

### 488 - Triangle Wave

#include<stdio.h> int main(){ int i,j,n,f,k.l,cas; scanf("%d",&cas); while(cas){ scanf("%d %d",&n,&f); while(f){ for(i=1;i<=n;i++){ for(j=0;j<i;j++){ printf("%d",i); } printf("\n"); } for(k=n-1;k>0;k--){ for(l=0;l<k;l++){ printf("%d",k); } printf("\n"); } f--; if(f!=0) printf("\n"); } cas--; } retur...