What is the time complexity T(n) of the following program? a) int n, d, i, j; cin >> n; for (d=1; d<=n; d++) for (i=1; i<=d; i++) for (j=1; j<=n; j += n/10) cout << d << " " << i << " " << j << endl; b) void main() { int n, s, t; cin >> n; for (s = 1; s <= n/4; s++) {t = s; while (t >= 1) { cout << s << " " << t << endl; t--; } } } c) void main() { int n, r, s, t; cin >> n; for (r = 2; r <= n; r = r * 2) for (s = 1; s <= n/4; s++) { t = s; while (t >= 1) { cout << s << " " << t << endl; t--; } } }
3 10921if u take one worst program,in this program user write the logic is session method.in that program user can get some errors ,that errors we will see in call transaction method,how it is possible.?
1 2196I wish to know the total procudure tht we follow for suppot project. i.e how we get the tickets and how we will send back to the client and the tool we use . ? and whts mainlly difference between 4.7 eee and 6.0 ecc and wht does ecc mean.?
3 14289Post New IBM Interview Questions
i want bhel placement paper for electrical if anybody having pl send to my id kavitha867@myway.com immediately
Can AI systems ever be completely free of bias? Why or why not?
can you please tell me what the current rate of construction material and different construction labourers charge in bangalore ???
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
What will be result if we connect LT votage to the terminal of HT motor?
hi gurus , plz can anybody forward ur cv of accounts/finance related , exp of 4+ years to afreenjuveriya@yahoo.com
any body can you help me what is the script to automate an comand promt
what is class module in vb6? what it's use? with example..
Hi there Does anybody can respond to my Questions? Is some one there to answer my Questions posted in Software testing category.pls E-mail to sunitht27@yahoo.com
BEL old probationary engineering questions and answers
which library you are using?
PLS.......... ANY ONE CAN FORWARD ME PREVIOUS QUESTION PAPER hpcl civil engg
Any idea of BSNL, JTO paper?
Lines of code (LOC) and function point counts (FPC) are two measures of the size of a system. Explain the advantages and disadvantages of using these two metrics for measuring systems.
How can you append an identity column to a temporary table?