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,540Success
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,51234,007,65413,406,0001,031,0002,445,312
2Jan 21, 2024 15:444,52131,115,99914,466,00002,269,184
3Jan 21, 2024 15:444,52540,398,54514,480,00002,531,328
4Jan 21, 2024 15:444,52835,207,76713,455,0001,035,0002,437,120
5Jan 21, 2024 15:444,52932,986,30314,492,00002,445,312
6Jan 21, 2024 15:444,53829,819,60814,522,00002,445,312
7Jan 21, 2024 15:444,54027,232,64314,527,00002,445,312
8Jan 21, 2024 15:444,54338,025,15914,537,00002,445,312
9Jan 21, 2024 15:444,55033,990,38714,560,00002,445,312
10Jan 21, 2024 15:444,78779,391,24315,317,22802,199,552
11Jan 21, 2024 15:444,79182,498,60815,329,84902,203,648
12Jan 21, 2024 15:444,81081,129,60515,391,72702,199,552