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 03:07Joad NacerJoad NacerScore: 5,694Success
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 03:075,66543,225,59217,122,0001,007,0002,289,664
2Apr 17, 2024 03:075,66543,592,91716,115,0002,014,0002,289,664
3Apr 17, 2024 03:075,66744,260,85216,120,0002,015,0002,289,664
4Apr 17, 2024 03:075,66839,839,91916,123,0002,015,0002,289,664
5Apr 17, 2024 03:075,67842,619,89016,151,0002,018,0002,273,280
6Apr 17, 2024 03:075,67939,707,10416,155,0002,019,0002,289,664
7Apr 17, 2024 03:075,69445,170,29417,209,0001,012,0002,269,184
8Apr 17, 2024 03:075,69941,762,15217,225,0001,013,0002,289,664
9Apr 17, 2024 03:075,70848,687,64816,238,0002,029,0002,523,136
10Apr 17, 2024 03:075,94789,816,24019,029,74802,293,760
11Apr 17, 2024 03:075,94988,425,55619,035,27402,174,976
12Apr 17, 2024 03:075,95463,063,58319,053,28602,297,856