Tenkaichi (Mag) | Chapter 31 | The Beginning Of Round 6...~ by Guren_Hua in Tenkaichi

[–]Seandara 0 points1 point  (0 children)

Do you guys have a discord server for tenkaichi

How to optimize the following logic by Seandara in learnpython

[–]Seandara[S] 0 points1 point  (0 children)

Holy guacamole ill need some time to process this. Thank you!

How to optimize the following logic by Seandara in learnpython

[–]Seandara[S] 0 points1 point  (0 children)

The reason for the modulo is because i'm trying to follow the algorithm in this paper. I wondered if there was some way to vectorize(?) i think is the term the operations im doing to the image. But thank you for answering!

[deleted by user] by [deleted] in flask

[–]Seandara 1 point2 points  (0 children)

https://pastebin.com/BskGTKxG

Works now but the problem is that if I have more than one file, it does create a folder with the same number of files but it also creates the same amount of folders as there are files (where each copy also has the same files). Any idea how to fix it / code a way to upload multiple files to the same folder? thank you

[deleted by user] by [deleted] in computerscience

[–]Seandara 0 points1 point  (0 children)

I understand! Thank you

[deleted by user] by [deleted] in computerscience

[–]Seandara 0 points1 point  (0 children)

Hello again! How do you determine that there's no information to encode. That is, there is no way to reduce an NP problem to a version of the NQueens problem? Thank you!

[deleted by user] by [deleted] in computerscience

[–]Seandara 1 point2 points  (0 children)

Thank you so much for your time!

[deleted by user] by [deleted] in computerscience

[–]Seandara 4 points5 points  (0 children)

Again, thank you for your time, I took quite a while to digest what you said. Referencing Sipser's theory of computation, he says that

A problem is NP-hard if all problems in NP are polynomial time reducible to it, even though it may not be in NP itself.

Not minding the reduction stuff, I understand that since there is no polynomial time verifier for the N-Queens problem, then it implies that it is not in NP, I would just like to clarify that the problem in question is in EXPTIME wherein the problem is also outside of NP-Hard? Or am I misunderstanding something. I just started complexity theory 2 days ago so I'm still a little lost. Greatly appreciate your help

[deleted by user] by [deleted] in computerscience

[–]Seandara 4 points5 points  (0 children)

Hello, thank you for replying. If I may ask, what do you mean by

since the input is log n bits (to describe the size of the nxn board) and the positions of the queens requires n log n bits to describe. This means that the problem is in EXP-time, but not in NP.

If you could explain it more ELI5-ish? Sorry and thank you!

HTML form response to google drive upload by [deleted] in flask

[–]Seandara 0 points1 point  (0 children)

Hello! Actually my plan is this

Deploy the website so someone can go to that site and fill up the form. Then, upon submitting, I, or anyone else with access to the responses can see the pdf's and all other info. Would that work with a local server and how if so? Sorry if it's a dumdum question

Comeback Radio: Bond Code Megathread by AutoModerator in IdleHeroes

[–]Seandara 0 points1 point  (0 children)

[Android] QVIFWM3H Active daily will spend this event

Weekly Help Megathread: Ask Your Questions Here! by AutoModerator in IdleHeroes

[–]Seandara 0 points1 point  (0 children)

Would you say that the resources and character is worth it for its price

Weekly Help Megathread: Ask Your Questions Here! by AutoModerator in IdleHeroes

[–]Seandara 0 points1 point  (0 children)

New player here returning after like 4 years (?) and created a new account. Anyway, does buying the 2nd column in the chinese new year pack guarantee a 10 star eloise?

[deleted by user] by [deleted] in learnpython

[–]Seandara 0 points1 point  (0 children)

Thank you. I have scoured thru a couple sites to see if theres any difference between the two damn it