func_code_string: /** try <3 **/      #include<bits/stdc++.h>      using namespace std;      #define task  sol    #define lb lower_bound   #define ub upper_bound   #define fi first   #define se second   #define pb push_back   #define mp make_pair   #define zs(v) ((int)(v).size())   #define BIT(x, i) (((x) >> (i)) & 1)   #define CNTBIT __builtin_popcountll   #define ALL(v) (v).begin(),(v).end()   #define endl   n       typedef long double ld;   typedef long long ll;   typedef pair<int,int> pii;      void gogo()   {       int x;       cin>>x;          ll s=0, ans=0;          for(int i=1;i<=x;++i)       {           s+=i;           ans=i;           if(s>=x) break;       }          if(!(s==x||s>x+1)) ++ans;       cout<<ans<<  n ;   }   int main()   {       ios_base::sync_with_stdio(0); cin.tie(0);       if(fopen(task .inp , r ))       {           freopen(task .inp , r ,stdin);           freopen(task .out , w ,stdout);       }       int t;       cin>>t;       while(t--) gogo();       return 0;   }      