Toggle navigation
Courses
Questions
Tags
Users
AC 20161013 作業 4
0
like
0
dislike
6.4k
views
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=429
[Exercise]
Coding (C)
-
asked
Oct 13, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 13763 -
Available when:
Unlimited
-
Due to:
Unlimited
|
6.4k
views
comment
0
0
Called for Help
0
0
Called for Help
0
0
Called for Help
0
0
Called for Help
0
0
Called for Help
Please
log in
or
register
to add a comment.
64
Answers
0
like
0
dislike
Hidden content!#include <stdio.h>
#include <stdlib.h>
int main()
{
* ** * * * * * * * * * n,t,j,k;
* ***** * ** * ** * * ** ** * ** loop_count;
* * * * *** * * ** * * * ** * * ***** * ** * * ** ** *
* * *** * ** **** * ** ** ** (loop_count = 1; loop_count <= t; loop_count++)
* * * * *** * * * *
* * ** ** * * * * * * *** * ** * * * * (j = 1;j <= n;j ++)
***** * * * ** * * * * ** ** * * * * * ** ** * * * *
** * * ** * * ** ** * * ** * * * *** * * * ** * * * * * * * * ** (k = 0;k < j;k ++)
* ** * ** * * * * * * * * ** ** * ** * * ** ** * * ** * * * * ** *** * * * * * * *** * * *** ** ***** ("%d",j);
*** * * * ** * ** ** *** * * * ** * * **** **** * * ** ** **** ** * * ** * ("\n");
* ** * * * * * * ** * * * * **** ** ** * * ** *
* * ** * * * *** * * * * * * * * * * ** * ** ** ** * == n;
* **** * * ** *** * ** *** * * * * * * * ** ** * ** (j <= n ; j > 1 ; -- j)
* * * * ***** * * * * ** * * ** * ** * * * * * **