0_0_30233839_24484.cpp: In function 'int main()': 0_0_30233839_24484.cpp:2:114: error: expected '}' at end of input int main(){long long n,m,k,a,c;std::cin>>c;while(c--){std::cin>>n>>m>>k;std::cout<<(m/(n-k+1)+1)*(k-1)+m+1<<'\n';} ^