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 listMay 8, 2024 21:49Joad NacerJoad NacerScore: 5,059Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 8, 2024 21:495,02641,095,45514,072,0002,010,0002,289,664
2May 8, 2024 21:495,03844,742,35415,116,0001,007,0002,523,136
3May 8, 2024 21:495,04632,516,29114,129,0002,018,0002,523,136
4May 8, 2024 21:495,04737,045,91715,142,0001,009,0002,289,664
5May 8, 2024 21:495,05036,627,61514,140,0002,020,0002,289,664
6May 8, 2024 21:495,05486,284,62716,172,68302,301,952
7May 8, 2024 21:495,05941,167,13814,165,0002,023,0002,277,376
8May 8, 2024 21:495,06835,652,25114,189,0002,027,0002,273,280
9May 8, 2024 21:495,09144,252,49214,256,0002,036,0002,289,664
10May 8, 2024 21:495,09684,003,88716,308,54802,297,856
11May 8, 2024 21:495,10140,050,48114,283,0002,040,0002,289,664
12May 8, 2024 21:495,10986,317,03016,347,95202,174,976