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 listApr 18, 2024 19:26Robert BurkeRobert BurkeScore: 4,416Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:264,38836,118,87612,037,0002,006,0002,281,472
2Apr 18, 2024 19:264,39732,110,17312,060,0002,010,0002,281,472
3Apr 18, 2024 19:264,39831,532,94412,065,0002,010,0002,437,120
4Apr 18, 2024 19:264,40629,648,73512,084,0002,014,0002,281,472
5Apr 18, 2024 19:264,41339,868,09012,103,0002,017,0002,281,472
6Apr 18, 2024 19:264,41333,376,59812,104,0002,017,0002,281,472
7Apr 18, 2024 19:264,41636,059,57413,121,0001,009,0002,281,472
8Apr 18, 2024 19:264,41930,060,13912,122,0002,020,0002,281,472
9Apr 18, 2024 19:264,42528,376,58712,137,0002,022,0002,441,216
10Apr 18, 2024 19:264,70758,314,68315,062,58002,203,648
11Apr 18, 2024 19:264,70887,288,11315,064,27002,199,552
12Apr 18, 2024 19:264,72577,357,10015,120,36002,207,744