online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
for _ in range(int(input())): [n, k], cnt = map(int, input().split()), 0 for p in range(n // 2, n + 1): f = [p, n] for _ in range(k - 2): f[0], f[1] = f[1] - f[0], f[0] if f[0] < 0 or f[0] > f[1]: break else: cnt += 1 print(cnt)

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue