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:23AnSaAnSaScore: 4,789Success
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:234,67534,032,05013,964,000997,0002,490,368
2Jun 30, 2024 17:234,68536,080,49913,992,000999,0002,269,184
3Jun 30, 2024 17:234,69542,486,48414,022,0001,001,0002,531,328
4Jun 30, 2024 17:234,69632,182,26013,023,0002,003,0002,494,464
5Jun 30, 2024 17:234,69635,108,65814,026,0001,001,0002,531,328
6Jun 30, 2024 17:234,69832,621,52514,032,0001,002,0002,269,184
7Jun 30, 2024 17:234,70231,139,88914,044,0001,003,0002,486,272
8Jun 30, 2024 17:234,70234,061,77114,043,0001,003,0002,494,464
9Jun 30, 2024 17:234,70428,169,79814,051,0001,003,0002,269,184
10Jun 30, 2024 17:234,72930,467,84513,115,0002,017,0002,531,328
11Jun 30, 2024 17:234,77631,429,46114,265,0001,018,0002,498,560
12Jun 30, 2024 17:234,77834,936,37613,251,0002,038,0002,269,184
13Jun 30, 2024 17:234,78934,927,67714,303,0001,021,0002,494,464
14Jun 30, 2024 17:234,79331,090,49014,317,0001,022,0002,531,328
15Jun 30, 2024 17:234,80334,803,35314,346,0001,024,0002,269,184
16Jun 30, 2024 17:234,81631,169,62815,412,00002,494,464
17Jun 30, 2024 17:234,82737,433,92813,386,0002,059,0002,494,464
18Jun 30, 2024 17:234,83632,997,26615,476,00002,269,184
19Jun 30, 2024 17:234,97089,765,72215,905,10202,252,800
20Jun 30, 2024 17:234,97863,596,87015,930,44602,252,800
21Jun 30, 2024 17:234,99983,347,94515,997,73402,244,608
22Jun 30, 2024 17:235,06099,343,96816,191,87002,248,704
23Jun 30, 2024 17:235,06781,502,93216,215,41502,248,704
24Jun 30, 2024 17:235,09863,024,20716,314,10602,244,608