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:39Joad NacerJoad NacerScore: 5,409Success
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:395,37440,262,39915,173,0002,023,0002,289,664
2Apr 17, 2024 03:395,37440,126,50115,173,0002,023,0002,265,088
3Apr 17, 2024 03:395,38239,195,65616,209,0001,013,0002,289,664
4Apr 17, 2024 03:395,39632,083,33715,236,0002,031,0002,289,664
5Apr 17, 2024 03:395,40537,894,54615,262,0002,035,0002,375,680
6Apr 17, 2024 03:395,40648,623,01515,264,0002,035,0002,289,664
7Apr 17, 2024 03:395,40938,876,80315,273,0002,036,0002,273,280
8Apr 17, 2024 03:395,41040,678,50615,275,0002,036,0002,289,664
9Apr 17, 2024 03:395,41137,477,46116,296,0001,018,0002,289,664
10Apr 17, 2024 03:395,61980,858,68217,981,64702,297,856
11Apr 17, 2024 03:395,63089,389,24018,014,61102,174,976
12Apr 17, 2024 03:395,64471,715,09518,060,76702,293,760