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 21, 2024 16:56matsuoka-601matsuoka-601Score: 4,841Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 16:564,80634,232,48914,353,0001,025,0002,289,664
2Jan 21, 2024 16:564,81239,499,96913,346,0002,053,0002,289,664
3Jan 21, 2024 16:564,81238,007,85914,373,0001,026,0002,289,664
4Jan 21, 2024 16:564,82331,928,03015,435,00002,289,664
5Jan 21, 2024 16:564,82346,691,12514,406,0001,029,0002,289,664
6Jan 21, 2024 16:564,83335,338,30714,434,0001,031,0002,269,184
7Jan 21, 2024 16:564,84132,924,98614,458,0001,032,0002,269,184
8Jan 21, 2024 16:564,84438,537,53914,467,0001,033,0002,289,664
9Jan 21, 2024 16:564,85731,834,13714,505,0001,036,0002,527,232
10Jan 21, 2024 16:565,04880,939,46016,153,73102,297,856
11Jan 21, 2024 16:565,06970,993,75516,222,12002,301,952
12Jan 21, 2024 16:565,08888,781,81116,281,76702,301,952