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 listJul 19, 2022 20:55Franek KortaFranek KortaScore: 5,411Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2022 20:555,34949,676,61716,110,0001,006,0002,387,968
2Jul 19, 2022 20:555,37347,520,17115,170,0002,022,0002,392,064
3Jul 19, 2022 20:555,37334,207,36215,171,0002,022,0002,519,040
4Jul 19, 2022 20:555,37349,451,73514,161,0003,034,0002,387,968
5Jul 19, 2022 20:555,38537,755,04515,206,0002,027,0002,519,040
6Jul 19, 2022 20:555,40948,273,37015,273,0002,036,0002,519,040
7Jul 19, 2022 20:555,41146,442,53716,298,0001,018,0002,519,040
8Jul 19, 2022 20:555,42542,966,34015,318,0002,042,0002,523,136
9Jul 19, 2022 20:555,44247,591,66515,479,0001,934,0002,392,064
10Jul 19, 2022 20:555,62660,761,42518,001,66702,191,360
11Jul 19, 2022 20:555,63382,323,17318,024,23702,285,568
12Jul 19, 2022 20:555,676100,610,54418,162,50202,277,376