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 8945What are all the points to keep in consideration, while we are migrating the Universes,Reports from BO5.1.6 to BO 6.5? Is is compatible to migrate like this? Does it effect the filters in Reports and Join in the Universe?
1539Can we display only integers / numbers through the message box? Is there any constraint to do so?
8 12331what could be the problem if invoice_id is same in ap_invoices_all and ap_invoices_interface. while the Ord_id , invoice_num, and other things is diffrent .
3 15152How do you test pop up with LR? My whole application running on pop up. Its a JSP page written on pop up window.
1 6484Post New Infosys Interview Questions
What is capacity in vector in c++?
Explain how many states does signal has?
hi i have applied for lic of india south cenrtal zonal ,hyd. i didnt get hall ticket till now.let me know how can i get form internet
What are the examples of standard spring events?
Define SessionContext ?
How do I make my wordpress site visible?
What does the jsonslurper class indicates?
Our business is an international call center. we are selling antivirus which is buying rs 200 & selling Rs 4500.what will be the purchase & sales.& what will be taxation processor to calculate tax
What are advantages of using friend classes?
What is a 1 page website?
HI FRIENDS... I WANT TO KNOW FEW TICKETS ON SECURITY WITH SOLUTION.
Explain the importance of bayes theorem?
Define the word Profit in terms of business
Is wordpress a software?
what are the three differences that separate out cloud architecture from the tradition one?