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 29, 2021 15:59Dmitry DolgopolovDmitry DolgopolovScore: 5,007Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 15:594,97436,535,62914,856,0001,061,0002,535,424
2May 29, 2021 15:594,98141,153,22013,946,0001,992,0002,449,408
3May 29, 2021 15:594,98738,872,16013,963,0001,994,0002,535,424
4May 29, 2021 15:594,98741,427,46213,963,0001,994,0002,449,408
5May 29, 2021 15:595,00034,700,32014,000,0002,000,0002,441,216
6May 29, 2021 15:595,00247,483,91014,006,0002,000,0002,535,424
7May 29, 2021 15:595,00731,854,49714,019,0002,002,0002,273,280
8May 29, 2021 15:595,00839,295,24014,021,0002,003,0002,445,312
9May 29, 2021 15:595,02342,428,38814,064,0002,009,0002,433,024
10May 29, 2021 15:595,21779,575,22916,695,23902,199,552
11May 29, 2021 15:595,22592,219,95416,719,49902,195,456
12May 29, 2021 15:595,26386,124,69116,841,02102,191,360