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 listJan 4, 2023 13:07A L ManningA L ManningScore: 5,370Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 4, 2023 13:075,34337,000,23016,093,0001,005,0002,371,584
2Jan 4, 2023 13:075,34934,261,25316,111,0001,006,0002,289,664
3Jan 4, 2023 13:075,35239,594,56715,112,0002,014,0002,289,664
4Jan 4, 2023 13:075,35343,993,68516,122,0001,007,0002,289,664
5Jan 4, 2023 13:075,35833,968,36415,130,0002,017,0002,289,664
6Jan 4, 2023 13:075,36241,689,91215,141,0002,018,0002,289,664
7Jan 4, 2023 13:075,37034,938,88016,175,0001,010,0002,289,664
8Jan 4, 2023 13:075,37042,248,07315,164,0002,021,0002,375,680
9Jan 4, 2023 13:075,39342,116,17316,244,0001,015,0002,359,296
10Jan 4, 2023 13:075,58768,586,08117,878,88902,248,704
11Jan 4, 2023 13:075,59282,640,84717,894,59202,252,800
12Jan 4, 2023 13:075,61488,908,12217,963,94602,248,704