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:32Franek KortaFranek KortaScore: 4,546Success
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:324,53134,268,90314,498,00002,269,184
2Jan 21, 2024 15:324,53633,858,23113,478,0001,036,0002,441,216
3Jan 21, 2024 15:324,54031,101,99914,527,00002,445,312
4Jan 21, 2024 15:324,54031,108,90114,528,00002,531,328
5Jan 21, 2024 15:324,54132,079,95813,494,0001,038,0002,437,120
6Jan 21, 2024 15:324,54331,590,01114,539,00002,531,328
7Jan 21, 2024 15:324,54631,200,10514,546,00002,531,328
8Jan 21, 2024 15:324,54735,287,53514,549,00002,445,312
9Jan 21, 2024 15:324,54833,394,99914,553,00002,457,600
10Jan 21, 2024 15:324,80098,303,85215,360,50102,191,360
11Jan 21, 2024 15:324,80381,157,99315,371,10302,187,264
12Jan 21, 2024 15:324,81177,765,08315,394,57302,191,360