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 18, 2024 14:16AnSaAnSaScore: 5,441Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2024 14:165,39943,023,90315,246,0002,032,0002,375,680
2Jan 18, 2024 14:165,41034,430,47716,295,0001,018,0002,265,088
3Jan 18, 2024 14:165,41644,530,03317,330,00002,375,680
4Jan 18, 2024 14:165,41934,121,10917,341,00002,265,088
5Jan 18, 2024 14:165,42044,045,57016,324,0001,020,0002,379,776
6Jan 18, 2024 14:165,42747,726,10816,345,0001,021,0002,265,088
7Jan 18, 2024 14:165,44140,308,02417,410,00002,265,088
8Jan 18, 2024 14:165,44348,265,06117,416,00002,379,776
9Jan 18, 2024 14:165,45540,396,15216,430,0001,026,0002,387,968
10Jan 18, 2024 14:165,59182,865,33017,891,35602,285,568
11Jan 18, 2024 14:165,60987,070,38817,949,43202,281,472
12Jan 18, 2024 14:165,63497,284,26118,030,14702,269,184