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 10, 2024 07:18Tejas G.Tejas G.Score: 5,899Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 07:185,89145,665,99516,868,0001,984,0002,289,664
2Apr 10, 2024 07:185,89546,390,59317,873,000992,0002,281,472
3Apr 10, 2024 07:185,89644,845,76817,875,000993,0002,277,376
4Apr 10, 2024 07:185,89738,777,76816,884,0001,986,0002,289,664
5Apr 10, 2024 07:185,89746,347,10017,878,000993,0002,277,376
6Apr 10, 2024 07:185,89835,748,96416,888,0001,986,0002,269,184
7Apr 10, 2024 07:185,89953,422,84916,889,0001,987,0002,289,664
8Apr 10, 2024 07:185,90442,480,30416,905,0001,988,0002,273,280
9Apr 10, 2024 07:185,90647,205,93917,849,0001,049,0002,289,664
10Apr 10, 2024 07:186,09886,647,73519,512,52502,174,976
11Apr 10, 2024 07:186,10892,521,48219,545,49002,174,976
12Apr 10, 2024 07:186,11581,328,67419,568,92002,179,072