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 15:48Franek KortaFranek KortaScore: 4,549Success
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 15:484,52732,863,55414,485,00002,441,216
2Jan 21, 2024 15:484,53033,761,49514,497,00002,441,216
3Jan 21, 2024 15:484,53536,985,61914,511,00002,531,328
4Jan 21, 2024 15:484,53537,368,52813,475,0001,036,0002,445,312
5Jan 21, 2024 15:484,53635,759,80314,515,00002,531,328
6Jan 21, 2024 15:484,53839,223,43214,522,00002,445,312
7Jan 21, 2024 15:484,54933,214,62414,556,00002,269,184
8Jan 21, 2024 15:484,55229,241,09414,567,00002,269,184
9Jan 21, 2024 15:484,56340,205,59613,559,0001,043,0002,531,328
10Jan 21, 2024 15:484,80085,182,39515,359,76602,256,896
11Jan 21, 2024 15:484,82787,105,69215,445,30902,207,744
12Jan 21, 2024 15:484,84179,874,94015,490,42302,195,456