Foxner
Here is how I understand the challenge (maybe I give you a few ideas): There are n - 2 possible polygons, each i-th of them can fit as many polygons on top of its vertices as the number of divisors of i (such that each divisor is >= 3). You need to find the combination of these polygons, such that the sum of their divisors (with duplicates removed) is k, and such that the total number of all vertices is minimal (each separate group of polygons can share one but only one vertex).
Dima
Anonymous
Anonymous
Hlw
Anonymous
##rules#pinned
Anonymous
Hey everyone
Anonymous
Good morning
Anonymous
How do you usually set a password?
Anonymous
I always forget my password
Anonymous
I always forget my password
My passwords are typically 64 characters long full of upper/lower case, numbers, and high-ANSI symbols. I don't remember any one of them.
Anonymous
It's much easier in my scenario to just use a password manager, so I've been using KeePass XC for around five years and have never had any reason to stop whatsoever.
Anonymous
Yeah here's a snippet of one: ^s?G+CUeoEalBqFgYzt@cOjOfb6K?vjud"RuSvX?!C"GvCYxh9FjJ2~J#
Anonymous
I'd love to see somebody guess their way into that
Anonymous
WTF?
Anonymous
...
Anonymous
😂
Sandeep Makwana CS4 MIT
#include <iostream> #include<cmath> using namespace std; int main() { int n; cin>>n; int i,j; if(n>0) for(i=1;i<n;i++){ if(n/i==i*i){ cout<<i; break; } } else for(j=-1;j>n;j--) { if(n/j==j*j){ cout<<j; break; } } return 0; }
Sandeep Makwana CS4 MIT
True or false
Anonymous
Did you count is it 64??😂
I said it was a snippet, not the full thing.
Sandeep Makwana CS4 MIT
Rose ye kon
Aey
Rose ye kon
😂😂😂😂
Sandeep Makwana CS4 MIT
Problem solve kare
Sandeep Makwana CS4 MIT
Or problem do yrr
Sandeep Makwana CS4 MIT
Warna kis bat ka ye group hai
Sandeep Makwana CS4 MIT
Kya hota hai is group pe
Sandeep Makwana CS4 MIT
Every one answer
Sandeep Makwana CS4 MIT
Koi answer dega
Farah
Hi how can I see length of an array in c ?
01000001011011010100000101101110
01000001011011010100000101101110
Calculate it explicitly
Farah
I found it, sizeof(array)/sizeof(int) because I have an arrays of integers
Farah
Is there any help for c like MATLAB?
Sid Sun
Is there any help for c like MATLAB?
What do you mean by help?
Farah
What do you mean by help?
MATLAB help has all the inbuilt functions and you can just find any function by a quick search....is there anything like that for C programming?
Aakriti Sikhawat
Tnx for the greeting.😊
Sid Sun
Tnx for the greeting.😊
It's a bot, don't mention it
Sid Sun
I know bro
Oh, okay
Sid Sun
Anonymous
Flagged by CIA
Sid Sun
Flagged by CIA
I am the CIA
Sid Sun
Anonymous
Flagged by FBI and NSA
Sid Sun
Enough OT tho'
Harshal
/notes
Harshal
#best-book
Harshal
#freeprogrammingbooks
Harshal
#cppbook
Anonymous
Koi answer dega
/warn getting frustrated for not getting an answer!!!
Anonymous
😅
Anonymous
That's not very Gandhi of you
Anonymous
#goodcodingmentality
Anonymous
#goodgooling
Anonymous
#goodgoogling
Sandeep Makwana CS4 MIT
#findprojects
Sandeep Makwana CS4 MIT
#best-book
Sandeep Makwana CS4 MIT
#best -book
Anonymous
#awesomeness
Sandeep Makwana CS4 MIT
#freeprogrammingbook
Sandeep Makwana CS4 MIT
#freeprogrammingbook
Anonymous
a was not declared
Rizky Khapidsyah
hi
Anonymous
Yeah I did
01000001011011010100000101101110
Dima
Warna kis bat ka ye group hai
/warn Read the rules
Anonymous
Dima
Kimita kibana
Hey
Anonymous
Hi there
Nameful
Greetings
Rajul
#include <stdio.h> void remove_space(char a[]){ int i=0; while(a[i]!='\0'){ if(a[i]==' '){ a[i]=a[i+1]; } else{ i++; } } } int main() { int test_case; char str[100]; while(test_case--){ scanf("%[^\n]s",str); remove_space(str); printf("%s",str); } return 0; }
Rajul
where i am worng will u tell me
Anonymous
Are you getting any debug error?
Anonymous
It's easier for somebody to tell you if you're doing something wrong, if you explain what happens when you try to run it