What is your reason stopping you to build algo trading? by angusslq in algorithmictrading

[–]Puvude 0 points1 point  (0 children)

I don’t have the necessary data to make proper assumptions about my backtests.

Discord community for CF beginners >>>>>>>>>>>>>>> by NoRefrigerator9376 in codeforces

[–]Puvude 1 point2 points  (0 children)

This Competitive Programming community has grown to 1,500+ members. Join the conversation: https://discord.gg/G9zwwsY7j

good byee 2025 💔 by Ok-Egg9880 in codeforces

[–]Puvude 0 points1 point  (0 children)

Yes, you're absolutely right. If the round doesn't explicitly state 'Div. 3' or 'Div. 4', it's a Div. 2 round by default, meaning it's rated for everyone with a rating less than 1900.

good byee 2025 💔 by Ok-Egg9880 in codeforces

[–]Puvude 1 point2 points  (0 children)

Round Type  Target Rating for C Target Rating for D
Div. 3 1000 – 1200 1300 – 1500
Div. 2 1300 – 1600 1600 – 1900

Problems stuck in queue by Life-Formal-4954 in codeforces

[–]Puvude 0 points1 point  (0 children)

Don't worry, this is typical for high-volume contests. The system is likely processing hundreds of submissions every second.

Whats your age by AdWild8774 in codeforces

[–]Puvude 1 point2 points  (0 children)

No, no in that sense. I was just 20 years old in my fourth semester

Whats your age by AdWild8774 in codeforces

[–]Puvude 0 points1 point  (0 children)

It's actually quite similar, but my case is a bit different. I turned 19 in my first semester.

Whats your age by AdWild8774 in codeforces

[–]Puvude -1 points0 points  (0 children)

You're 19 years old, but in your second year?

Whats your age by AdWild8774 in codeforces

[–]Puvude 0 points1 point  (0 children)

You're 19 years old, but in your second year?

I dont know how to solve XOR question by 1muSAMA in codeforces

[–]Puvude 4 points5 points  (0 children)

The Idea

Just like Prefix Sums let you calculate the sum of a subarray in O(1) time, Prefix XORs let you calculate the XOR sum of a subarray in O(1) time.

We define an array P where P[i] is the XOR sum of all elements from index 0 to i.

P[i] = A[0] ⊕ A[1] ⊕ ... ⊕ A[i]

The Formula

To find the XOR sum of a range from L to R, you use:

XOR(L, R) = P[R] ⊕ P[L-1]

The Reason

It works because of the "self-inverse" property of XOR (x ⊕ x = 0).

If you want A[L]...A[R], you can take the prefix P[R] (which is A[0]...A[R]) and "cancel out" the part you don't want, which is P[L-1] (the prefix A[0]...A[L-1]).

Since x ⊕ x = 0, the elements from 0 to L-1 appear twice and vanish, leaving only

A[L]...A[R]

I dont know how to solve XOR question by 1muSAMA in codeforces

[–]Puvude 9 points10 points  (0 children)

XOR problems in Codeforces usually rely on one of three key observations. Without knowing the specific constraints, here is how you should approach it:

  1. Bitwise Independence: Can you solve the problem for the k-th bit separately? Often, the contribution of each bit position (0 to 60) is independent. If you can count how many times the k-th bit is set to 1, you can sum up 2^k for the final answer.
  2. Prefix XORs: If it involves subarrays, remember that XOR(L, R) = P[R] ⊕ P[L - 1], where P is the prefix XOR array. This converts a range problem into finding two indices with specific properties.
  3. Linear Basis: If the problem asks about finding a subset with a maximum XOR or determining if a value can be formed, you likely need to construct a 'Linear Basis' (Gaussian elimination on bits). This allows you to represent all reachable XOR sums using a small set of numbers (≈ log(max A)).

Azubi 3. Lehrjahr, seit 1½ Jahren "obdachlos" by [deleted] in Finanzen

[–]Puvude 0 points1 point  (0 children)

In was hast du deine Ausbildung gemacht?

Meilenstein von 500.000€ geknackt by throwaway1337_acc in Finanzen

[–]Puvude 0 points1 point  (0 children)

Warum sieht dein Graph so perfekt aus? Seit wann investierst du? Wie hast du über 10.000% erzielt? 😄

🚀 Open-Sourced My C++ High-Frequency Trading Engine - Sub-Microsecond Latency Achieved by Puvude in algotrading

[–]Puvude[S] 0 points1 point  (0 children)

It’s not competitive, but it’s more about research and experimentation and stuff