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:44Franek KortaFranek KortaScore: 4,542Success
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:444,51829,378,44014,459,00002,269,184
2Jan 21, 2024 15:444,52231,658,66414,470,00002,531,328
3Jan 21, 2024 15:444,52437,493,35314,476,00002,449,408
4Jan 21, 2024 15:444,52738,781,92814,487,00002,531,328
5Jan 21, 2024 15:444,52930,482,10614,493,00002,269,184
6Jan 21, 2024 15:444,53032,977,64014,495,00002,441,216
7Jan 21, 2024 15:444,54230,741,67614,535,00002,445,312
8Jan 21, 2024 15:444,54330,280,27014,536,00002,269,184
9Jan 21, 2024 15:444,55332,204,50813,529,0001,040,0002,441,216
10Jan 21, 2024 15:444,80957,982,29415,388,63602,256,896
11Jan 21, 2024 15:444,81775,449,60015,414,04302,199,552
12Jan 21, 2024 15:444,84081,384,00015,486,62902,195,456