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 listAug 4, 2022 17:56Sergey StreminSergey StreminScore: 5,339Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2022 17:565,32446,047,37815,033,0002,004,0002,371,584
2Aug 4, 2022 17:565,32443,606,45915,034,0002,004,0002,363,392
3Aug 4, 2022 17:565,32746,892,00016,043,0001,002,0002,289,664
4Aug 4, 2022 17:565,32743,455,23416,044,0001,002,0002,289,664
5Aug 4, 2022 17:565,33041,490,64516,052,0001,003,0002,482,176
6Aug 4, 2022 17:565,33433,688,17315,061,0002,008,0002,375,680
7Aug 4, 2022 17:565,33933,807,94115,076,0002,010,0002,289,664
8Aug 4, 2022 17:565,34140,341,32616,086,0001,005,0002,375,680
9Aug 4, 2022 17:565,35636,721,17915,124,0002,016,0002,367,488
10Aug 4, 2022 17:565,56779,203,80217,812,99802,236,416
11Aug 4, 2022 17:565,58195,495,39317,860,46102,232,320
12Aug 4, 2022 17:565,59871,768,18517,914,86402,240,512