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 listJun 9, 2024 21:55джулисджулисScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 21:555,25944,548,52915,840,000990,0002,465,792
2Jun 9, 2024 21:555,26445,026,78514,864,0001,981,0002,293,760
3Jun 9, 2024 21:555,26643,264,11014,870,0001,982,0002,293,760
4Jun 9, 2024 21:555,27132,184,79114,883,0001,984,0002,289,664
5Jun 9, 2024 21:555,27231,307,62115,877,000992,0002,371,584
6Jun 9, 2024 21:555,27244,014,77515,878,000992,0002,293,760
7Jun 9, 2024 21:555,27935,212,46014,905,0001,987,0002,363,392
8Jun 9, 2024 21:555,30043,277,32514,965,0001,995,0002,293,760
9Jun 9, 2024 21:555,31145,725,55714,997,0001,999,0002,375,680
10Jun 9, 2024 21:555,50358,461,84917,608,24402,248,704
11Jun 9, 2024 21:555,55558,528,55217,774,95802,252,800
12Jun 9, 2024 21:555,62992,172,08418,011,88402,244,608