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 22, 2024 03:57Yuriy LyfenkoYuriy LyfenkoScore: 7,156Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 03:575,84289,350,91218,692,86402,281,472
2Apr 22, 2024 03:575,84366,606,48718,697,44002,285,568
3Apr 22, 2024 03:575,96493,223,33519,085,66602,281,472
4Apr 22, 2024 03:577,04352,422,43319,463,0003,073,0002,560,000
5Apr 22, 2024 03:577,10148,340,17320,657,0002,065,0002,465,792
6Apr 22, 2024 03:577,14247,480,52520,868,0001,987,0002,469,888
7Apr 22, 2024 03:577,15646,588,57619,913,0002,987,0002,560,000
8Apr 22, 2024 03:577,19451,595,84821,020,0002,001,0002,539,520
9Apr 22, 2024 03:577,19948,928,56020,032,0003,004,0002,457,600
10Apr 22, 2024 03:577,20349,766,54320,044,0003,006,0002,478,080
11Apr 22, 2024 03:577,20453,450,86520,047,0003,007,0002,469,888
12Apr 22, 2024 03:5714,73772,314,81045,153,0002,006,0002,297,856