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 listFeb 22, 2024 13:21Huy Duc LeHuy Duc LeScore: 4,851Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:214,82445,563,18614,409,0001,029,0002,273,280
2Feb 22, 2024 13:214,82634,250,11213,384,0002,059,0002,273,280
3Feb 22, 2024 13:214,82632,269,81513,385,0002,059,0002,277,376
4Feb 22, 2024 13:214,83533,105,15814,442,0001,031,0002,269,184
5Feb 22, 2024 13:214,83931,615,73514,454,0001,032,0002,273,280
6Feb 22, 2024 13:214,84833,371,83714,481,0001,034,0002,289,664
7Feb 22, 2024 13:214,85138,885,83914,489,0001,034,0002,277,376
8Feb 22, 2024 13:214,85434,583,79314,499,0001,035,0002,289,664
9Feb 22, 2024 13:214,86333,674,91614,523,0001,037,0002,289,664
10Feb 22, 2024 13:215,00590,689,44416,015,98302,297,856
11Feb 22, 2024 13:215,00784,245,57316,020,81902,301,952
12Feb 22, 2024 13:215,04372,240,25416,136,59502,179,072