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 30, 2024 17:22AnSaAnSaScore: 4,827Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 17:224,78836,271,39315,321,00002,269,184
2Jun 30, 2024 17:224,79732,364,48214,326,0001,023,0002,531,328
3Jun 30, 2024 17:224,79838,298,90415,355,00002,531,328
4Jun 30, 2024 17:224,79832,309,94714,332,0001,023,0002,498,560
5Jun 30, 2024 17:224,80331,798,84313,320,0002,049,0002,494,464
6Jun 30, 2024 17:224,80341,297,01615,370,00002,269,184
7Jun 30, 2024 17:224,80429,872,31915,373,00002,498,560
8Jun 30, 2024 17:224,80442,549,83414,348,0001,024,0002,531,328
9Jun 30, 2024 17:224,81535,331,94513,355,0002,054,0002,531,328
10Jun 30, 2024 17:224,81939,921,81714,393,0001,028,0002,490,368
11Jun 30, 2024 17:224,82034,777,58214,395,0001,028,0002,269,184
12Jun 30, 2024 17:224,82534,826,30215,440,00002,531,328
13Jun 30, 2024 17:224,82731,098,23315,446,00002,494,464
14Jun 30, 2024 17:224,82838,191,25915,451,00002,531,328
15Jun 30, 2024 17:224,83537,095,70614,440,0001,031,0002,531,328
16Jun 30, 2024 17:224,83738,483,44115,478,00002,494,464
17Jun 30, 2024 17:224,84236,575,40715,495,00002,269,184
18Jun 30, 2024 17:224,84831,234,75114,481,0001,034,0002,494,464
19Jun 30, 2024 17:225,04265,243,24716,134,68202,375,680
20Jun 30, 2024 17:225,07278,821,11716,230,17302,244,608
21Jun 30, 2024 17:225,07274,860,14916,230,11002,383,872
22Jun 30, 2024 17:225,08988,673,98516,283,73002,244,608
23Jun 30, 2024 17:225,09370,554,72116,298,94502,260,992
24Jun 30, 2024 17:225,097103,260,77216,309,20602,252,800