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 1, 2024 21:14Nao YonashiroNao YonashiroScore: 4,749Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 1, 2024 21:144,71937,238,90813,087,0002,013,0002,289,664
2Aug 1, 2024 21:144,73031,525,64913,118,0002,018,0002,289,664
3Aug 1, 2024 21:144,73035,792,34014,127,0001,009,0002,289,664
4Aug 1, 2024 21:144,73032,294,84413,118,0002,018,0002,289,664
5Aug 1, 2024 21:144,73540,096,87013,132,0002,020,0002,289,664
6Aug 1, 2024 21:144,73635,242,16314,146,0001,010,0002,289,664
7Aug 1, 2024 21:144,74932,116,70913,170,0002,026,0002,273,280
8Aug 1, 2024 21:144,76338,380,49113,210,0002,032,0002,273,280
9Aug 1, 2024 21:144,77638,725,36014,265,0001,018,0002,269,184
10Aug 1, 2024 21:144,94391,211,91015,817,88602,306,048
11Aug 1, 2024 21:144,95681,557,75615,858,05002,310,144
12Aug 1, 2024 21:144,95975,670,55715,868,08702,183,168