Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 30, 2024 17:42AnSaAnSaScore: 5,438Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 17:425,40340,664,13316,274,0001,017,0002,473,984
2Jun 30, 2024 17:425,40632,302,98016,281,0001,017,0002,478,080
3Jun 30, 2024 17:425,40643,947,72715,264,0002,035,0002,531,328
4Jun 30, 2024 17:425,40736,864,14015,266,0002,035,0002,269,184
5Jun 30, 2024 17:425,41540,030,86416,309,0001,019,0002,269,184
6Jun 30, 2024 17:425,41641,700,33216,312,0001,019,0002,469,888
7Jun 30, 2024 17:425,43831,456,83416,380,0001,023,0002,469,888
8Jun 30, 2024 17:425,43936,511,65814,333,0003,071,0002,269,184
9Jun 30, 2024 17:425,44635,751,28016,403,0001,025,0002,531,328
10Jun 30, 2024 17:425,52275,781,76817,671,55702,252,800
11Jun 30, 2024 17:425,53255,851,97217,701,93602,248,704
12Jun 30, 2024 17:425,57676,626,46717,841,89702,244,608