SCB-PA Inter School and College Programming Contest 2018 Practice (Replay)

Dear hjr265,
Thank you for your help. Thanks for giving the link. But can you please check a problem of mine in the একটি পিঁপড়ার আত্মকাহিনী; In this problem the first sample input and output is
3 Yes! The ant is Alive.
But we need at least two input;
heres my solution:

#include<bits/stdc++.h>
using namespace std;


int main() {
    int b, d, t;
    while(cin >> b >> d){
        t = b / d;
        if(t <= 5 && t!= 0){
            cout << "Yes! The ant is Alive." << "\n";
        }else {
            cout << "Sorry !the ant is nomore." << "\n";
        }
    }
    
    return 0;

}

It is showing runtime error. I can’t solve the problem for the 3 Yes! The ant is Alive. sample case. Hope you will help me;Thank you for your helping attitude; my submission id is
332134.
and what is the menaing of this line:
প্রথম লাইনে থাকবে একটি ধনাত্মক পূর্ণসংখ্যা T ( 1<=T<=100 ), যেটি হল টেস্ট কেসের সংখ্যা