I was looking through this solution https://www.codechef.com/viewsolution/51338562 and I ran generator for this and it is giving tle for this.
I ran this code for input:
#include "bits/stdc++.h"
using namespace std;
using namespace std::chrono;
int main(){
cout<<1<<endl;
cout<<100000<<endl;
for(int i=1;i<=100000;i++){
cout<<4<<" ";
}
cout<<endl;
}