How to take multiple test cases as input.

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

but if we write while(t--) only not while(t-->0) then it runs also
is it like while give false condition when t<0 on its own or is it??

shaniyadav
Автор

kartik bhai, hackerrank me jab hm problem solve krlete hen, output sahi hota h run kerne k bad lkin jab hm usey submit krty hy to ye error ata hy " 1/2 test cases failed :( ", " TEST CASE ! x" ye q ataa hy ??

harmain
Автор

what is test cases are random ?
t = 3
4
5
7

how to solve this ?

digvijayyamagekar