15,893,588 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Padala Vamsi ujpNQUXGRi (Top 14 by date)
Padala Vamsi ujpNQUXGRi
21-Apr-21 2:09am
View
I can't do this because I have to enter last input after analysis is done. And I don't know when analysis will be completed. Actually all automatic inputs are configuration of application, after providing configuration it starts device which will run for sometime and after analysis is done I will enter number 13 to stop device. So, I cannot input last input before the two inputs.
Padala Vamsi ujpNQUXGRi
11-Feb-21 22:11pm
View
Hidden test cases. And the link is dead.
Padala Vamsi ujpNQUXGRi
11-Feb-21 19:39pm
View
You are right, I tried this way already but some test cases are getting failed. I am a full time employee so I'm little busy this week. But I can give you hint since you are all curious. Remember in the question they said tape pieces my overlap.
Padala Vamsi ujpNQUXGRi
11-Feb-21 8:33am
View
Thank you for your time.
Padala Vamsi ujpNQUXGRi
11-Feb-21 8:33am
View
Thank you for the time.
Padala Vamsi ujpNQUXGRi
10-Feb-21 4:00am
View
let say if there are 150 cabins and 6 broken cabins 20, 30, 75, 80, 110, 140 and number of pieces to be cut is 3
.....20.....30....75....80.....110....140....
then
-----|-- 11 --|---|-- 6 --|-----|--31--|-----
or
-----|-- 11 --|---|----- 36 -----|---|-1-|---
now the answer is 11+6+31
but another possible ways is
56+31+1
Padala Vamsi ujpNQUXGRi
10-Feb-21 3:51am
View
2 is number of pieces of tape must cut. That is why we just cut 2 pieces with length 11 and 6 meters. If that number is 4 we might have cut 4 pieces of length 1 meter.
Padala Vamsi ujpNQUXGRi
19-Dec-20 12:07pm
View
Ok, funny mistake. Thank you and sorry to bother you.
Padala Vamsi ujpNQUXGRi
19-Dec-20 12:03pm
View
I tried printing addresses of variables using
printf("first(%p) second(%p) third(%p) fourth(%p)\n", &node.first, &node.second, &node.three, &node.fourth);
what I got was
first(0x7ffc0f5f4740) second(0x7ffc0f5f4744) third(0x7ffc0f5f4748) fourth(0x7ffc0f5f4750)
that means
Address value
40 first
41 padding
42 padding
43 padding
44 second
45 second
46 second
47 second
48 three
49 padding
50 fourth
51 fourth
52 fourth
53 fourth
54 fourth
55 fourth
56 fourth
57 fourth
I don't understand how it got padding.
Padala Vamsi ujpNQUXGRi
19-Dec-20 11:31am
View
Thank you very much.
Padala Vamsi ujpNQUXGRi
19-Dec-20 11:16am
View
let say the alignment is
e e e 1
2 2 2 2
e e e 3
4 4 4 4
4 4 4 4
where e stands for empty or padding and 1, 2, 3, 4 represents variables. Now there is only 20 bytes of memory used.
Padala Vamsi ujpNQUXGRi
19-Dec-20 11:14am
View
why there is an additional 4 bytes. can you please explain?
Padala Vamsi ujpNQUXGRi
19-Sep-20 2:38am
View
This was my placement question and I tried to contact my tutor even and they didn't answered it correctly. So, if you know you can answer.
You can search it online so that you will get to know whether this is from any challenge or not.
Padala Vamsi ujpNQUXGRi
19-Sep-20 2:37am
View
This was my placement question and I tried to contact my tutor even and they didn't answered it correctly. So, if you know you can answer.
Show More