Toggle navigation
Courses
Questions
Tags
Users
AD 20161013 作業 4
0
like
0
dislike
570
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: 13528 -
Available when:
Unlimited
-
Due to:
Unlimited
|
570
views
comment
0
0
Called for Help
Please
log in
or
register
to add a comment.
23
Answers
0
like
0
dislike
Hidden content!#include <stdio.h>
#include <stdlib.h>
int main()
{
int num , fre , amp , i , j , k ;
** ** * * ** * * * * * * * * ** * * * ** * ** * * ** *
for( ; num > 0 ; num--)
{
* ** ** * ** * * **** * * * * * *** * * * ** * *** * ** * * * ** * *** **
*** * ** * ** * * ** * * ** * ** * ** * * * * * * ** * ** ** **** * * * ** * * * * * *
*** * *** * * ** **** * *** * * * *** * * * ** * * *
* ** * ** **** ** * * ** * * * * *** ** * ***** * * * * k = fre ; k > 0 ; k--)
* ** * *** *** ** *** **** * * * *** ** ** ** ** *
* ** * * * ** *** * * * *** * *** ** ** * * * * * * * * * * * * * * * * *** * ** *** * * i = 1 ; i <= amp ; i++)
** * * * * * * ** ** * * *** * * * ** * ** * * ** * **** * * * * * **
** * * *** ** * ***** * * * ** ** * * * * ** * *** * * * * * * * ** * * * * * * ** * * * * * **** * * * * j = i ; j > 0 ; j--)