Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc6000a9

Browse files
refactor 1344
1 parent71fcee8 commitc6000a9

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

‎src/main/java/com/fishercoder/solutions/_1344.java

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,5 @@
11
packagecom.fishercoder.solutions;
22

3-
/**
4-
* 1344. Angle Between Hands of a Clock
5-
*
6-
* Given two numbers, hour and minutes. Return the smaller angle (in sexagesimal units) formed between the hour and the minute hand.
7-
*
8-
* Example 1:
9-
* Input: hour = 12, minutes = 30
10-
* Output: 165
11-
*
12-
* Example 2:
13-
* Input: hour = 3, minutes = 30
14-
* Output: 75
15-
*
16-
* Example 3:
17-
* Input: hour = 3, minutes = 15
18-
* Output: 7.5
19-
*
20-
* Example 4:
21-
* Input: hour = 4, minutes = 50
22-
* Output: 155
23-
*
24-
* Example 5:
25-
* Input: hour = 12, minutes = 0
26-
* Output: 0
27-
*
28-
* Constraints:
29-
* 1 <= hour <= 12
30-
* 0 <= minutes <= 59
31-
* Answers within 10^-5 of the actual value will be accepted as correct.
32-
* */
333
publicclass_1344 {
344
publicstaticclassSolution1 {
355
publicdoubleangleClock(inthour,intminutes) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp