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 16, 2021 13:01Yuriy LyfenkoYuriy LyfenkoScore: 5,672Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:015,619333,559,74217,981,00002,265,088
2May 16, 2021 13:015,632331,928,78117,021,0001,001,0002,396,160
3May 16, 2021 13:015,638328,860,52916,038,0002,004,0002,523,136
4May 16, 2021 13:015,646336,489,43817,063,0001,003,0002,387,968
5May 16, 2021 13:015,654328,637,82317,087,0001,005,0002,269,184
6May 16, 2021 13:015,665336,307,91017,121,0001,007,0002,269,184
7May 16, 2021 13:015,672332,894,97217,141,0001,008,0002,265,088
8May 16, 2021 13:015,673335,856,89317,145,0001,008,0002,523,136
9May 16, 2021 13:015,678332,885,83118,171,00002,265,088
10May 16, 2021 13:016,063358,805,39719,400,91202,277,376
11May 16, 2021 13:016,087369,632,38719,478,18902,273,280
12May 16, 2021 13:016,118379,125,63919,579,18302,281,472