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, 2023 16:58Alexander MonakovAlexander MonakovScore: 4,534Success
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, 2023 16:584,49030,119,07314,369,00002,490,368
2Jun 30, 2023 16:584,50229,089,26314,407,00002,498,560
3Jun 30, 2023 16:594,51437,257,78514,444,00002,498,560
4Jun 30, 2023 16:594,51432,991,19814,444,00002,494,464
5Jun 30, 2023 16:594,51940,121,68614,460,00002,277,376
6Jun 30, 2023 16:594,52130,370,57414,467,00002,535,424
7Jun 30, 2023 16:594,52241,370,01914,470,00002,502,656
8Jun 30, 2023 16:594,52440,800,95914,477,00002,277,376
9Jun 30, 2023 16:584,52733,170,07313,453,0001,034,0002,498,560
10Jun 30, 2023 16:584,52928,550,92313,457,0001,035,0002,277,376
11Jun 30, 2023 16:584,53329,984,56714,504,00002,494,464
12Jun 30, 2023 16:584,53331,674,26013,470,0001,036,0002,277,376
13Jun 30, 2023 16:584,53430,501,62614,508,00002,494,464
14Jun 30, 2023 16:594,54029,993,92414,528,00002,277,376
15Jun 30, 2023 16:584,54732,110,69014,550,00002,277,376
16Jun 30, 2023 16:594,56139,056,46614,594,00002,277,376
17Jun 30, 2023 16:594,56131,330,83114,596,00002,502,656
18Jun 30, 2023 16:584,63731,932,43212,860,0001,978,0002,277,376
19Jun 30, 2023 16:584,79184,878,00215,330,62702,236,416
20Jun 30, 2023 16:594,79581,781,04215,342,53602,248,704
21Jun 30, 2023 16:594,79663,512,70015,348,48202,244,608
22Jun 30, 2023 16:584,81566,104,19515,407,98302,248,704
23Jun 30, 2023 16:584,82280,268,53315,429,82802,236,416
24Jun 30, 2023 16:594,83277,083,99515,462,60202,240,512