15,895,084 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 Muskan Verma 2021 (Top 21 by date)
Muskan Verma 2021
11-Jun-21 2:16am
View
yes sir I have used a debugger too and I'm not able to correct it that's why I have posted it here
Muskan Verma 2021
10-Jun-21 13:26pm
View
I'm sorry sir but this is not the answer I was expecting, I'm not saying that my output is wrong, I'm just saying that format of my output is not right. like output I want is that -1 and 0 should come in a single line cause the input I was taking for that is [3,1] and the rest should come as it is. Actually, I'm dealing with this problem. I request u to read my question once again and run that too with the same sample input and then u will be able to detect my problem.
Muskan Verma 2021
5-Jun-21 5:56am
View
thanks, sir
Muskan Verma 2021
5-Jun-21 2:17am
View
Thank u soo much sir
Muskan Verma 2021
8-May-21 8:07am
View
Thanks a lot, sir but, I have tried it on the debugger, and it's not throwing any error!
can u please correct this code of mine?
Muskan Verma 2021
8-May-21 7:45am
View
ok sir, thank you
Muskan Verma 2021
8-May-21 7:17am
View
Deleted
ok sir, thank you
Muskan Verma 2021
8-May-21 4:59am
View
URL for this ques is
https://www.codechef.com/MAY21C/problems/LKDNGOLF
Muskan Verma 2021
6-May-21 11:20am
View
yes sir.
URL is...
https://www.codechef.com/LRNDSA05/problems/HMAPPY2
Muskan Verma 2021
6-May-21 7:11am
View
this code is running only for the sample input but not running for any other input and showing the wrong answer as an error when I'm submitting it in codechef
Muskan Verma 2021
6-May-21 6:43am
View
Deleted
this code is running only for the sample input but not running for any other input and showing the wrong answer as an error when I'm submitting it in codechef
Muskan Verma 2021
5-May-21 11:58am
View
yes, sir. got it. thanks a lot.
Muskan Verma 2021
5-May-21 11:46am
View
Deleted
yaa, it worked.
thanks so much, sir.
Muskan Verma 2021
5-May-21 11:46am
View
Deleted
yaa, it worked.
thanks so much, sir.
Muskan Verma 2021
5-May-21 11:46am
View
Deleted
yaa, it worked.
thanks so much, sir.
Muskan Verma 2021
5-May-21 11:46am
View
yaa, it worked.
thanks so much, sir.
Muskan Verma 2021
5-May-21 5:13am
View
https://www.codechef.com/LRNDSA04/problems/STRSUB
Muskan Verma 2021
5-May-21 5:01am
View
You are given a string S of length N consisting only of 0s and 1s. You are also given an integer K.
You have to answer Q queries. In the ith query, two integers Li and Ri are given. Then you should print the number of substrings of S[L, R] which contain at most K 0s and at most K 1s where S[L, R] denotes the substring from Lth to Rth characters of the string S.
In other words, you have to count number of pairs (i, j) of integers such that L ≤ i ≤ j ≤ R such that no character in substring S[i, j] occurs more than K times.
Muskan Verma 2021
5-May-21 5:00am
View
Deleted
You are given a string S of length N consisting only of 0s and 1s. You are also given an integer K.
You have to answer Q queries. In the ith query, two integers Li and Ri are given. Then you should print the number of substrings of S[L, R] which contain at most K 0s and at most K 1s where S[L, R] denotes the substring from Lth to Rth characters of the string S.
In other words, you have to count number of pairs (i, j) of integers such that L ≤ i ≤ j ≤ R such that no character in substring S[i, j] occurs more than K times.
Muskan Verma 2021
5-May-21 4:56am
View
thanks for ur guides
Muskan Verma 2021
5-May-21 4:56am
View
Deleted
what is this T?
Show More