Skip to content

有一个不定长度的String,其中前面是字母,后边是数字,例如:"abcd123.456", 要求写一个方法得到其中的数字以String的形式返回,数字保留小数点后两位, 不四舍五入,截去多余小数,例如:"abcd123.456",得到"123.45" 如果数字没有小数点,要得到两位为0的小数,例如:"abcd123",得到"123.00".

active 2024-07-162024-12-31 (UTC)

Complete coverage26,509 / 26,509 hourly files (100%) · 2 absent upstream2023-08-152026-08-23 (UTC)
Events
156
Pushes
2
Pull requests
40
Issues
20
Stars
5
Forks
75

Activity over time

Daily event counts in the loaded window

Line chart, 169 days from 2024-07-16 to 2024-12-31. Pushes: 2 total, peak 2 in a day. Pull requests: 40 total, peak 26 in a day. Issues: 20 total, peak 15 in a day. Comments: 9 total, peak 5 in a day. Stars: 5 total, peak 4 in a day.

  • Pushes
  • Pull requests
  • Issues
  • Comments
  • Stars

Top contributors

Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity

Recent activity

Latest issues, pull requests and releases

  • Pull request#60timeqiao882024-12-31 00:20
  • Issue#65Julia451666482024-07-19 11:04
    Julia_45166648
  • Pull request#64506989482024-07-18 13:55
  • Issue#62DrMon3tr2024-07-18 01:29
    bigquery solution
  • Pull request#61LenHHHHL2024-07-18 01:25
  • Pull request#60timeqiao882024-07-18 01:20
  • Issue comment#59slgnovice2024-07-18 00:45
    kenneth review
  • Pull request#59slgnovice2024-07-18 00:45
  • Issue comment#59slgnovice2024-07-18 00:45
    kenneth review
  • Issue comment#59slgnovice2024-07-18 00:45
    kenneth review
  • Pull request#59slgnovice2024-07-18 00:44
  • Issue comment#58aixocm2024-07-18 00:19
    Python solution
  • Issue#58aixocm2024-07-18 00:11
    Python solution
  • Issue#57Nico-M2024-07-18 00:09
    js solution
  • Issue#56ddl-darklnek2024-07-17 22:33
    dracy's solution
  • Pull request#55Reenaissance2024-07-17 18:15
  • Pull request#54yun-032024-07-17 18:09
  • Issue#53cai-20232024-07-17 17:24
    test.py-45235363
  • Pull request#52Sherryzhang12024-07-17 17:10
  • Issue#51tracysqy2024-07-17 16:48
    golang方法
  • Pull request#50rakusyou2024-07-17 16:31
  • Issue#49Martin-DC2024-07-17 16:18
    Martin Ding's JS solution
  • Pull request#48JerryRenZhao2024-07-17 16:14
  • Issue#4743691234562024-07-17 16:01
    Lewis answer
  • Issue#43Artemis8882024-07-17 15:43
    C++ Solve_O(n)

Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 5 stars here means stars gained during the window, not the repo's star count.