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 19, 2024 09:44AnSaAnSaScore: 5,304Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 09:445,28232,407,68514,914,0001,988,0002,396,160
2Jan 19, 2024 09:445,28446,444,38714,919,0001,989,0002,281,472
3Jan 19, 2024 09:445,29339,459,15814,945,0001,992,0002,281,472
4Jan 19, 2024 09:445,29641,696,77914,953,0001,993,0002,392,064
5Jan 19, 2024 09:445,29934,256,44014,962,0001,995,0002,281,472
6Jan 19, 2024 09:445,30339,178,48314,972,0001,996,0002,510,848
7Jan 19, 2024 09:445,30442,132,55514,977,0001,997,0002,396,160
8Jan 19, 2024 09:445,31739,180,99315,012,0002,001,0002,400,256
9Jan 19, 2024 09:445,31941,402,62315,018,0002,002,0002,281,472
10Jan 19, 2024 09:445,50065,909,66017,600,48802,265,088
11Jan 19, 2024 09:445,51069,374,05017,631,39702,269,184
12Jan 19, 2024 09:445,52783,147,99017,685,82202,269,184