87 lines
1.6 KiB
Plaintext
87 lines
1.6 KiB
Plaintext
#include "sylib.h"
|
|
//sample:input n number, sort them and print them;
|
|
int n;
|
|
int main()
|
|
{
|
|
int a0;
|
|
int a1;
|
|
int a2;
|
|
int a3;
|
|
int a4;
|
|
int a5;
|
|
int a6;
|
|
int a7;
|
|
int a8;
|
|
int a9;
|
|
int a10;
|
|
int a11;
|
|
int a12;
|
|
int a13;
|
|
int a14;
|
|
int a15;
|
|
int a16;
|
|
int a17;
|
|
int a18;
|
|
int a19;
|
|
int a20;
|
|
int a21;
|
|
int a22;
|
|
int a23;
|
|
int a24;
|
|
int a25;
|
|
int a26;
|
|
int a27;
|
|
int a28;
|
|
int a29;
|
|
int b;
|
|
b = getint();
|
|
while(b == 5){
|
|
b = b + 1;
|
|
}
|
|
a0=0;
|
|
a1=a0+1;
|
|
a2=a1+1;
|
|
a3=a2+1;
|
|
a4=a3+1;
|
|
a5=a4+1;
|
|
a6=a5+1;
|
|
a7=a6+1;
|
|
a8=a7+1;
|
|
a9=a8+1;
|
|
a10=a9+1;
|
|
a11=a10+1;
|
|
a12=a11+1;
|
|
a13=a12+1;
|
|
a14=a13+1;
|
|
a15=a14+1;
|
|
a16=a15+1;
|
|
a17=a16+1;
|
|
a18=a17+1;
|
|
a19=a18+1;
|
|
a20=a19+1;
|
|
a21=a20+1;
|
|
a22=a21+1;
|
|
a23=a22+1;
|
|
a24=a23+1;
|
|
a25=a24+1;
|
|
a26=a25+1;
|
|
a27=a26+1;
|
|
a28=a27+1;
|
|
a29=a28+1;
|
|
int t;
|
|
putint(a0);putint(a1);putint(a2);putint(a3);
|
|
putint(a4);putint(a5);putint(a6);putint(a7);
|
|
putint(a8);putint(a9);putint(a10);putint(a11);
|
|
putint(a12);putint(a13);putint(a14);putint(a15);
|
|
putint(a16);putint(a17);putint(a18);putint(a19);
|
|
putint(a20);putint(a21);putint(a22);putint(a23);
|
|
putint(a24);putint(a25);putint(a26);putint(a27);
|
|
putint(a28);putint(a29);
|
|
int newline;
|
|
newline = 10;
|
|
putch(newline);
|
|
putint(b);
|
|
putch(newline);
|
|
return a25;
|
|
}
|