+ 2
Please someone assist me here in solving security challenge?
https://code.sololearn.com/cNf60xtp8foX/?ref=app The problem is testcase 5 is not working but the other test cases are working but all i know is that test case 5 should be "quiet". In my code snippet i cannot see any error at all.
4 Antworten
+ 2
Yes 30 is ok
you can do this to init char array and be sure of length:
#include <iostream>
#include <cstring>
using namespace std;
int main() {
string in;
cin>>in;
int size = in.length();
char floor[size];
strcpy(floor, in.c_str());
// your code
+ 3
I think Input length greater than 20.
so not enough size
+ 3
Thankyou guys.I really appretiate
+ 2
It worked i think the issue was the size