Toggle navigation
Courses
Questions
Tags
Users
AC 20170105 期末 第二題
0
like
0
dislike
862
views
讓使用者輸入三個時間,依照時間由晚到早輸出。
example input:
12 30 23 40 12 34
22 30 20 31 17 12
example output:
23:40 12:34 12:30
22:30 20:31 17:12
[Exercise]
Coding (C)
-
asked
Jan 5, 2017
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 20978 -
Available when:
Unlimited
-
Due to:
Unlimited
reshown
Jan 5, 2017
by
Shun-Po
|
862
views
comment
Please
log in
or
register
to add a comment.
39
Answers
0
like
0
dislike
Hidden content!#include <stdio.h>
#include <stdlib.h>
int main()
{
* ** * ****** * * * i,j,k,l,m,n;
* ** * * ** * * * * * * **** *** * ** * * * * * * *** ***** * ** * **
* * ***** *** * * * * * * ** ** * *
** ** * * * * * * * *
* * ** * ** * ** ** ** * * *** * * ** * ** ** * ** * * * * * *** * * * %d:%d * * **** * ** **
** * ** * * * ** * *
* * ** *** **** **** *
** * * * * ** ** * ***** * * * * * ** ** ** * * * * * %d:%d %d:%d",k,l,m,n,i,j);
* * * ** * ** * * ** * * * * 0;
}
answered
Jan 5, 2017
by
410523034
(
-120
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!#include<stdio.h>
int main ()
{
int a , a1 , b , b1 , c , c1 ;
* ** * ** * * * ** ** * * * ** * * * * * ** *
*** * * * * ** * ** * * * * * * **** *** *
* * * * * * * * * ** ** * * ** * * *** * *