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 listJan 21, 2024 09:45AnSaAnSaScore: 5,301Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 09:455,27047,086,24914,880,0001,984,0002,281,472
2Jan 21, 2024 09:455,27347,902,30115,881,000992,0002,281,472
3Jan 21, 2024 09:465,27342,559,39714,890,0001,985,0002,400,256
4Jan 21, 2024 09:465,27943,123,89615,899,000993,0002,281,472
5Jan 21, 2024 09:465,28441,265,37714,920,0001,989,0002,281,472
6Jan 21, 2024 09:455,28543,751,70216,911,00002,281,472
7Jan 21, 2024 09:465,28732,554,49915,860,0001,057,0002,387,968
8Jan 21, 2024 09:455,29043,798,61115,932,000995,0002,400,256
9Jan 21, 2024 09:465,29244,631,39015,875,0001,058,0002,281,472
10Jan 21, 2024 09:455,29438,470,55014,949,0001,993,0002,281,472
11Jan 21, 2024 09:455,30046,946,32014,966,0001,995,0002,392,064
12Jan 21, 2024 09:465,30135,847,00614,968,0001,995,0002,281,472
13Jan 21, 2024 09:455,30134,346,29314,968,0001,995,0002,281,472
14Jan 21, 2024 09:455,30435,474,65014,976,0001,996,0002,400,256
15Jan 21, 2024 09:465,30635,108,40514,982,0001,997,0002,396,160
16Jan 21, 2024 09:465,30638,236,96614,983,0001,997,0002,281,472
17Jan 21, 2024 09:455,31334,263,50215,003,0002,000,0002,396,160
18Jan 21, 2024 09:465,31642,944,06316,012,0001,000,0002,392,064
19Jan 21, 2024 09:465,46582,407,69817,489,03602,289,664
20Jan 21, 2024 09:465,48189,832,25117,539,49702,289,664
21Jan 21, 2024 09:455,48567,425,52817,552,79802,293,760
22Jan 21, 2024 09:455,49472,807,49017,579,45802,293,760
23Jan 21, 2024 09:455,51178,842,44317,635,58102,285,568
24Jan 21, 2024 09:465,51860,868,01117,656,64202,281,472