Why is the code showing TLE

Problem -> Array Target Sum Triplet
It runs properly on CB - IDE . But it shows
" rungurad: warning : timelimit exceeded " whike submitting it .
MY answer)

Hello @N4i9kita,

I have corrected your code:

Refer to comments for better understanding.

Hope, this would help.
Give a like if you are satisfied.

It is still showing the same error .

Hello @N4i9kita,

The same code is passing all the test cases for me:

If you still face the same error, report the same at [email protected].
It might be some technical issue.

It is showing Compilation Successful but does not print the output on the screen. This is happening in one more question .

Hey @N4i9kita,

report the same at [email protected].
The team will resolve it soon.

1 Like