Loading [Contrib]/a11y/accessibility-menu.js
Toggle navigation
Sky Online Judge
Problems
Challenges
Contest
Tools
Coder
Scoreboard
Code
Dev Message
Discuss
Make-A-Wish
LOGIN
上傳編號
204059
上傳時間
2024-09-02 11:05:03
題目
互動題練習
使用者
anonymous
總得分
0,
Waiting
WAIT
#
State
Runtime
Memory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef
EVAL
#include
<iostream>
using
std
::
cin
;
using
std
::
cout
;
using
std
::
endl
;
int
Answer
(
int
a
,
int
b
,
int
c
)
;
int
main
(
)
{
int
a
,
b
,
c
;
cin
>>
a
>>
b
>>
c
;
cout
<<
Answer
(
a
,
b
,
c
)
<<
endl
;
}
#endif
/*================================================================*/
/*================================================================*/
/*================================================================*/
/*================================================================*/
/*Write Your Program Here*/
/*Notice: You should include header for yourself*/
#include
<iostream>
using
namespace
std
;
int
Answer
(
int
a
,
int
b
,
int
c
)
{
if
(
a
>=
b
&&
a
>=
c
)
{
return
a
;
}
if
(
b
>=
a
&&
b
>=
c
)
{
return
b
;
}
else
{
return
c
;
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX