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 listJun 13, 2021 11:34Dmitry DolgopolovDmitry DolgopolovScore: 4,981Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 11:344,94730,418,56913,851,0001,978,0002,437,120
2Jun 13, 2021 11:344,95731,749,49714,871,000991,0002,445,312
3Jun 13, 2021 11:344,95931,801,74013,887,0001,983,0002,269,184
4Jun 13, 2021 11:344,96130,686,88713,890,0001,984,0002,531,328
5Jun 13, 2021 11:344,96332,698,73414,888,000992,0002,445,312
6Jun 13, 2021 11:344,96843,123,04013,912,0001,987,0002,265,088
7Jun 13, 2021 11:344,97047,032,12113,917,0001,988,0002,269,184
8Jun 13, 2021 11:344,97242,224,79513,921,0001,988,0002,269,184
9Jun 13, 2021 11:344,97338,474,43913,923,0001,989,0002,269,184
10Jun 13, 2021 11:344,97335,615,90513,923,0001,989,0002,269,184
11Jun 13, 2021 11:344,97332,970,57814,854,0001,061,0002,265,088
12Jun 13, 2021 11:344,98139,107,76413,948,0001,992,0002,531,328
13Jun 13, 2021 11:344,98139,783,83813,948,0001,992,0002,453,504
14Jun 13, 2021 11:344,98340,537,39013,953,0001,993,0002,269,184
15Jun 13, 2021 11:344,98632,545,79013,961,0001,994,0002,531,328
16Jun 13, 2021 11:344,99034,450,80013,972,0001,996,0002,449,408
17Jun 13, 2021 11:344,99234,128,91314,977,000998,0002,531,328
18Jun 13, 2021 11:344,99836,690,96013,994,0001,999,0002,445,312
19Jun 13, 2021 11:345,17575,539,50816,560,20502,195,456
20Jun 13, 2021 11:345,17774,862,76816,565,77402,207,744
21Jun 13, 2021 11:345,17763,538,32516,564,98002,199,552
22Jun 13, 2021 11:345,19978,562,13316,638,33302,199,552
23Jun 13, 2021 11:345,20676,489,24416,660,32202,211,840
24Jun 13, 2021 11:345,22581,044,38816,721,38202,211,840