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 17, 2024 01:07Joad NacerJoad NacerScore: 5,456Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 01:075,38639,604,54415,208,0002,027,0002,269,184
2Apr 17, 2024 01:075,43340,174,36916,362,0001,022,0002,273,280
3Apr 17, 2024 01:075,43332,847,76416,362,0001,022,0002,289,664
4Apr 17, 2024 01:075,44238,917,98516,390,0001,024,0002,273,280
5Apr 17, 2024 01:075,45240,007,81917,447,00002,531,328
6Apr 17, 2024 01:075,45437,013,38216,428,0001,026,0002,277,376
7Apr 17, 2024 01:075,45636,273,58616,433,0001,027,0002,273,280
8Apr 17, 2024 01:075,46440,866,13815,429,0002,057,0002,289,664
9Apr 17, 2024 01:075,48440,084,89517,549,00002,273,280
10Apr 17, 2024 01:075,66390,684,37518,121,14702,285,568
11Apr 17, 2024 01:075,69592,431,20018,223,89602,301,952
12Apr 17, 2024 01:075,71298,150,43018,277,10102,301,952