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 listJul 22, 2024 23:20Joad NacerJoad NacerScore: 4,801Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 23:204,77731,804,37613,248,0002,038,0002,273,280
2Jul 22, 2024 23:204,78844,238,66313,279,0002,043,0002,273,280
3Jul 22, 2024 23:204,78932,511,71114,303,0001,021,0002,289,664
4Jul 22, 2024 23:204,78932,121,20414,304,0001,021,0002,289,664
5Jul 22, 2024 23:204,79931,920,17813,311,0002,047,0002,289,664
6Jul 22, 2024 23:204,80037,279,13513,313,0002,048,0002,289,664
7Jul 22, 2024 23:204,80136,855,44214,338,0001,024,0002,273,280
8Jul 22, 2024 23:204,81543,796,49814,382,0001,027,0002,273,280
9Jul 22, 2024 23:204,83132,454,23114,430,0001,030,0002,269,184
10Jul 22, 2024 23:205,03088,878,77016,096,42102,306,048
11Jul 22, 2024 23:205,059104,985,29016,188,71602,306,048
12Jul 22, 2024 23:205,09972,137,48516,317,29502,297,856