## Isn’t every polynomial time problem an NP problem?

See here. Knapsack problem — NP-complete despite dynamic programming solution?

The only reason Knapsack problem is NP-complete is because input comes as binary numbers so n is actually 2^n. Since the weight is an axis of the DP array.

Then for every single problem, for example one that requires an O(n) loop through an O(n) sized array, if we consider the array to actually be 2^n bits long or something towards that effect that actually makes sense, aren’t all of those problems actually NP-complete?

This seems to me like the original “feeling/intuition” of relatively middling test cases for NP problems not even working, is thrown off because then almost every algorithm ever is NP.

## using gpg how can I force the passphrase to be enterered for every decript [duplicate]

I have encrypted a file and sent to another vm. Decripted the file and all was fine. Closed the shell, reopened and attempted to decrypt the same file. This time it didn’t ask for the passphrase but simply showed the decrypted text.

My question is If I wanted to force the passphrase to be entered upon every decrypt, ( in case someone got into my machine / user ), how could I ensure that the phrase would need to be entered everytime?

Clearly I am missing an in depth understanding of what is happening here.

## How do I let players know that not every encounter has to be hack and slash? [duplicate]

My players kind of have a habit of, “If it walks like a duck and talks like a duck, WE MUST KILL IT!

Recently they came across a small goblin camp and one of them (who speaks goblin) verbally bluffed the goblins into thinking he was their leader coming back from a meeting or some such business. “Brilliant,” I thought, “let’s see where they take this”… Into an ambush it turned out.
Or in another example they learned of an enemy supply caravan heading from one town to another in a couple of days, so they ambushed it the road, rather than thinking of another option.

Now I have no problem with this whatsoever, I’m still new to DMing, not yet great at the role-play side of things in any case, running a published campaign, am running things more or less by the book, which my players don’t seem to mind, and the caravan combat at least is in the book.

I guess what I’m getting at is; How do I encourage players to think outside the combat box and how do I, as the DM, give them other options without blatantly saying something like “maybe they don’t want to fight”?

To hopefully make things a little more clear and to give another example, of which the PCs haven’t actually come across yet.
Say the PCs are camping in the forest and whoever’s on watch hears wolves howling and getting closer, whether they wake the others up or not my lead in woud be something like;

Eventually there’s a rustling in the bushes nearby and you see pairs of glowing red eyes that seem to watch your movement. After a minute or two a pack of wolves stalk out from behind the bushes and into the light of your camp fire, their eyes set with ravenous hunger and their jaws dipping with saliva.

How can I open up the possibility that if the PCs offer up some of their own food supplies than the wolves would be complacent and either back off or stick around for the night in the warmth of the fire and help protect the PCs?
Not looking for answers specifically relating to that scenario but hopefully you get the idea.

# Setup

Here’s the setup: I have an $$N$$ x $$N$$ grid of tiles, and a list of $$M$$ agents that need to move across the grid. Each agent has its own start tile $$S(a)$$, end tile $$E(a)$$, and an exact number of steps $$D(a)$$ it must make. Each step consists of a one-tile move horizontally, vertically, or staying in place. For each agent, $$D(a)$$ is usually much larger than the Manhattan distance between $$S(a)$$ and $$E(a)$$, so the path the agent takes is not necessarily a straight line from $$S(a)$$ to $$E(a)$$. Furthermore, the sum of all $$D(a)$$ is expected to be much larger than $$N$$ x $$N$$, so every tile will be used at least once. Agent paths are allowed to intersect with other paths and with themselves, and the number of agents on a tile at any given time doesn’t matter.

# The Problem

I would like to find paths for each agent that begin at $$S(a)$$, end at $$E(a)$$, and are exactly $$D(a)$$ steps long, with the goal of minimizing the maximum number of times any given tile is used. More formally, given an agent path $$P_0 \ldots P_n$$, let $$C(P, t)$$ be the number of times tile $$t$$ appears in $$P$$, and let $$A(t)$$ be the sum of $$C(P, t)$$ over all agent paths. I would like to find agent paths that minimize the maximum $$A(t)$$ over all tiles $$t$$.

My intuition tells me that this problem is almost certainly NP hard, so I’m looking for some kind of approximation or heuristic.

# First Attempt

My first stab at solving this was to find each path sequentially. For each agent, I create a 3-dimensional $$N$$ x $$N$$ x $$D(a)$$ search space, then use A* search to find the min-cost path from $$[S(a), 0]$$ to $$[E(a), D(a)]$$. The cost of each node in the search is the number of times that tile has been used by previous paths. Then, once the path is found, I add to the cost of each tile used, and proceed to the next agent. Of course, this leads to the problem that while the last agent path will be pretty good, the first agent path will be essentially random because the grid is yet totally unused. So, I just loop this process a few times; once the last path is computed and the tile costs updated, I loop back to the first path, subtract from the grid the costs that agent contributed, then recompute that path and add the new costs in. After 3 or 4 loops, I converge on a pretty reasonable solution.

But I’m hoping there’s a better idea out there. Any ideas or references to similar problems that I could read up on would be very welcome.

## Confusion with “every path from a given node to any of the leaves goes through the same number of black nodes” property of RB trees

One of the properties of Red Black trees is: “every path from a given node/vertex to any of the leaves goes through the same number of black nodes”

1) is the vertex we start at counted in this black vertex count?

2) is the leaf we end at counted in the black vertex count?

I have a secret theory about both of these questions, but am hoping for confirmation and so shalt not yet reveal it.

## My Computer crashes every time after I run this below

The code make my computer crash every time I run it.

Manipulate[

``g[x_] := Piecewise[{{2 - x, 1 <= x}, {x, x < 1}}];  Solve[g[x] == g[m x], x],  {{m, 2, "Times"}, -10, 10, 0.1}] ``

What’s wrong with this?

I use Mathematica 12.0

If I click `Continue Waiting`, it will end up crashing.

## Hello Every One, Can a Coroutine blocks a Ui-tread and main thread? Here is my anr reports…:)

``"main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 obj=0x76124000 self=0xb8c90630   | sysTid=14257 nice=-6 cgrp=apps sched=0/0 handle=0xb6f3cec8   | state=S schedstat=( 17722980711 3926538577 33817 ) utm=1401 stm=371 core=0 HZ=100   | stack=0xbe193000-0xbe195000 stackSize=8MB   | held mutexes=   #00  pc 0000000000039cc0  /system/lib/libc.so (__ioctl+8)   #01  pc 000000000003f3d9  /system/lib/libc.so (ioctl+14)   #02  pc 000000000001cbbb  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138)   #03  pc 000000000001d1d7  /system/lib/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+42)   #04  pc 000000000001d379  /system/lib/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+124)   #05  pc 000000000001860f  /system/lib/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+30)   #06  pc 00000000000875f3  /system/lib/libandroid_runtime.so (???)   #07  pc 0000000000a88b99  /system/framework/arm/boot.oat (Java_android_os_BinderProxy_transactNative__ILandroid_os_Parcel_2Landroid_os_Parcel_2I+144)   at android.os.BinderProxy.transactNative (Native method)   at android.os.BinderProxy.transact (Binder.java:496)   at aq.a (com.google.android.gms.dynamite_measurementdynamite@200414028@20.04.14 (020304-0):38) - locked <@addr=0x12f9a200> (a java.lang.Object)   at an.a (com.google.android.gms.dynamite_measurementdynamite@200414028@20.04.14 (020304-0):3)   at ap.a (com.google.android.gms.dynamite_measurementdynamite@200414028@20.04.14 (020304-0):3)   at ah.c (com.google.android.gms.dynamite_measurementdynamite@200414028@20.04.14 (020304-0):8)   at ak.handleMessage (com.google.android.gms.dynamite_measurementdynamite@200414028@20.04.14 (020304-0):29)   at android.os.Handler.dispatchMessage (Handler.java:102)   at android.os.Looper.loop (Looper.java:135)   at android.app.ActivityThread.main (ActivityThread.java:5753)   at java.lang.reflect.Method.invoke! (Native method)   at java.lang.reflect.Method.invoke (Method.java:372)   at com.android.internal.os.ZygoteInit\$  MethodAndArgsCaller.run (ZygoteInit.java:1405)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1200)     "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 obj=0x75271f70 self=0xa8005400   | sysTid=23701 nice=-4 cgrp=default sched=0/0 handle=0xaacb9534   | state=S schedstat=( 0 0 0 ) utm=667 stm=316 core=0 HZ=100   | stack=0xbe1ff000-0xbe201000 stackSize=8MB   | held mutexes=   #00  pc 00000000000484d8  /system/lib/libc.so (__epoll_pwait+20)   #01  pc 000000000001a19d  /system/lib/libc.so (epoll_pwait+60)   #02  pc 000000000001a1cd  /system/lib/libc.so (epoll_wait+12)   #03  pc 0000000000011c87  /system/lib/libutils.so (android::Looper::pollInner(int)+118)   #04  pc 0000000000011b83  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+26)   #05  pc 000000000008f169  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, _jobject*, int)+22)   #06  pc 000000000061c5bd  /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+96)   at android.os.MessageQueue.nativePollOnce (Native method)   at android.os.MessageQueue.next (MessageQueue.java:323)   at android.os.Looper.loop (Looper.java:136)   at android.app.ActivityThread.main (ActivityThread.java:6146)   at java.lang.reflect.Method.invoke! (Native method)   at com.android.internal.os.ZygoteInit\$  MethodAndArgsCaller.run (ZygoteInit.java:865)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:755)      "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 obj=0x75781708 self=0xb0085400   | sysTid=16356 nice=-4 cgrp=default sched=0/0 handle=0xb2d18534   | state=S schedstat=( 0 0 0 ) utm=81 stm=59 core=0 HZ=100   | stack=0xbe670000-0xbe672000 stackSize=8MB   | held mutexes=   #00  pc 00000000000173f4  /system/lib/libc.so (syscall+28)   #01  pc 00000000000b713d  /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+92)   #02  pc 00000000003f23ab  /system/lib/libart.so (art::GoToRunnable(art::Thread*)+230)   #03  pc 00000000003f229b  /system/lib/libart.so (art::JniMethodEnd(unsigned int, art::Thread*)+8)   #04  pc 0000000000621b8f  /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+106)   at android.os.MessageQueue.nativePollOnce (Native method)   at android.os.MessageQueue.next (MessageQueue.java:323)   at android.os.Looper.loop (Looper.java:136)   at android.app.ActivityThread.main (ActivityThread.java:6216)   at java.lang.reflect.Method.invoke! (Native method)   at com.android.internal.os.ZygoteInit\$  MethodAndArgsCaller.run (ZygoteInit.java:887)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:777)       "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 flags=1 obj=0x72ff3770 self=0xa803f000   | sysTid=14677 nice=-10 cgrp=default sched=0/0 handle=0xaca064a4   | state=S schedstat=( 2405664844 1074645320 2868 ) utm=79 stm=160 core=1 HZ=100   | stack=0xbe153000-0xbe155000 stackSize=8MB   | held mutexes=   #00  pc 0000000000018cc4  /system/lib/libc.so (syscall+28)   #01  pc 00000000000b71cd  /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+80)   #02  pc 00000000003e0911  /system/lib/libart.so (art::GoToRunnable(art::Thread*)+300)   #03  pc 00000000003e07b5  /system/lib/libart.so (art::JniMethodEnd(unsigned int, art::Thread*)+8)   #04  pc 0000000000772161  /system/framework/arm/boot-framework.oat (Java_android_os_BinderProxy_transactNative__ILandroid_os_Parcel_2Landroid_os_Parcel_2I+144)   at android.os.BinderProxy.transactNative (Native method)   at android.os.BinderProxy.transact (Binder.java:776)   at android.app.IActivityManager\$  Stub\$  Proxy.refContentProvider (IActivityManager.java:4841)   at android.app.ActivityThread.incProviderRefLocked (ActivityThread.java:6225)   at android.app.ActivityThread.acquireExistingProvider (ActivityThread.java:6288) - locked <0x00829d09> (a android.util.ArrayMap)   at android.app.ActivityThread.acquireProvider (ActivityThread.java:6166)   at android.app.ContextImpl\$  ApplicationContentResolver.acquireProvider (ContextImpl.java:2526)   at android.content.ContentResolver.acquireProvider (ContentResolver.java:1733)   at android.content.ContentResolver.query (ContentResolver.java:779)   at android.content.ContentResolver.query (ContentResolver.java:704)   at android.content.ContentResolver.query (ContentResolver.java:662)   at com.google.android.gms.dynamite.DynamiteModule.zzc (unavailable:122)   at com.google.android.gms.dynamite.DynamiteModule.zza (unavailable:96)   at com.google.android.gms.dynamite.DynamiteModule.getRemoteVersion (unavailable:149)   at com.google.android.gms.internal.ads.zzus.zzd   at com.google.android.gms.internal.ads.zzxd.zza   at com.google.android.gms.ads.InterstitialAd.loadAd   at com.google.unity.ads.Interstitial\$  2.run (Interstitial.java:152)   at android.os.Handler.handleCallback (Handler.java:795)   at android.os.Handler.dispatchMessage (Handler.java:99)   at android.os.Looper.loop (Looper.java:166)   at android.app.ActivityThread.main (ActivityThread.java:6861)   at java.lang.reflect.Method.invoke (Native method)   at com.android.internal.os.RuntimeInit\$  MethodAndArgsCaller.run (RuntimeInit.java:450)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:936)        "main" prio=5 tid=1 Waiting   | group="main" sCount=1 dsCount=0 obj=0x85921000 self=0xb4827800   | sysTid=32088 nice=0 cgrp=default sched=0/0 handle=0xb6f36bec   | state=S schedstat=( 0 0 0 ) utm=287 stm=134 core=0 HZ=100   | stack=0xbe303000-0xbe305000 stackSize=8MB   | held mutexes=   at java.lang.Object.wait! (Native method) - waiting on <0x2e0733ff> (a java.lang.Object)   at java.lang.Thread.parkFor (Thread.java:1220) - locked <0x2e0733ff> (a java.lang.Object)   at sun.misc.Unsafe.park (Unsafe.java:299)   at java.util.concurrent.locks.LockSupport.park (LockSupport.java:157)   at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt (AbstractQueuedSynchronizer.java:813)   at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly (AbstractQueuedSynchronizer.java:973)   at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly (AbstractQueuedSynchronizer.java:1281)   at java.util.concurrent.CountDownLatch.await (CountDownLatch.java:202)   at android.app.SharedPreferencesImpl\$  EditorImpl\$  1.run (SharedPreferencesImpl.java:363)   at android.app.QueuedWork.waitToFinish (QueuedWork.java:88)   at android.app.ActivityThread.handleStopActivity (ActivityThread.java:3866)   at android.app.ActivityThread.access\$  1200 (ActivityThread.java:177)   at android.app.ActivityThread\$  H.handleMessage (ActivityThread.java:1454)   at android.os.Handler.dispatchMessage (Handler.java:102)   at android.os.Looper.loop (Looper.java:135)   at android.app.ActivityThread.main (ActivityThread.java:5910)   at java.lang.reflect.Method.invoke! (Native method)   at java.lang.reflect.Method.invoke (Method.java:372)   at com.android.internal.os.ZygoteInit\$  MethodAndArgsCaller.run (ZygoteInit.java:1405)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1200)       "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 flags=1 obj=0x741d4730 self=0x6f354c2a00   | sysTid=9741 nice=-10 cgrp=default sched=0/0 handle=0x6fba6d99a8   | state=S schedstat=( 1881119592 824547978 3737 ) utm=137 stm=51 core=0 HZ=100   | stack=0x7fe16a2000-0x7fe16a4000 stackSize=8MB   | held mutexes=   #00  pc 000000000001e4ac  /system/lib64/libc.so (syscall+28)   #01  pc 00000000000e7620  /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+152)   #02  pc 0000000000346158  /system/lib64/libart.so (art::JNI::CallObjectMethod(_JNIEnv*, _jobject*, _jmethodID*, ...)+552)   #03  pc 00000000000eede0  /system/lib64/libandroid_runtime.so (android::NativeDisplayEventReceiver::dispatchVsync(long, int, unsigned int)+48)   #04  pc 0000000000048514  /system/lib64/libandroidfw.so (android::DisplayEventDispatcher::handleEvent(int, int, void*)+164)   #05  pc 0000000000016260  /system/lib64/libutils.so (android::Looper::pollInner(int)+816)   #06  pc 0000000000015ea0  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+108)   #07  pc 000000000011b610  /system/lib64/libandroid_runtime.so (???)   #08  pc 00000000001f6aac  /system/framework/arm64/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+140)   at android.os.MessageQueue.nativePollOnce (Native method)   at android.os.MessageQueue.next (MessageQueue.java:325)   at android.os.Looper.loop (Looper.java:170)   at android.app.ActivityThread.main (ActivityThread.java:7055)   at java.lang.reflect.Method.invoke (Native method)   at com.android.internal.os.RuntimeInit\$  MethodAndArgsCaller.run (RuntimeInit.java:523)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:836)         "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 flags=1 obj=0x72756c68 self=0x750cc5fe00   | sysTid=7355 nice=-10 cgrp=default sched=0/0 handle=0x75929b69a8   | state=S schedstat=( 1434359968 1175390232 4126 ) utm=73 stm=70 core=0 HZ=100   | stack=0x7fedfcc000-0x7fedfce000 stackSize=8MB   | held mutexes=   #00  pc 000000000007a1c0  /system/lib64/libc.so (__epoll_pwait+8)   #01  pc 00000000000201d8  /system/lib64/libc.so (epoll_pwait+48)   #02  pc 0000000000015f9c  /system/lib64/libutils.so (android::Looper::pollInner(int)+148)   #03  pc 0000000000015e78  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+108)   #04  pc 0000000000117434  /system/lib64/libandroid_runtime.so (???)   #05  pc 00000000001e7e6c  /system/framework/arm64/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+140)   at android.os.MessageQueue.nativePollOnce (Native method)   at android.os.MessageQueue.next (MessageQueue.java:329)   at android.os.Looper.loop (Looper.java:150)   at android.app.ActivityThread.main (ActivityThread.java:6702)   at java.lang.reflect.Method.invoke (Native method)   at com.android.internal.os.RuntimeInit\$  MethodAndArgsCaller.run (RuntimeInit.java:549)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:826)         "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 flags=1 obj=0xec01358 self=0xa79d0000   | sysTid=21324 nice=-20 cgrp=default sched=1073741825/1 handle=0xab8514a4   | state=S schedstat=( 12419814912 272368784 4478 ) utm=1186 stm=55 core=0 HZ=100   | stack=0xbe7fe000-0xbe800000 stackSize=8MB   | held mutexes=   #00  pc 00000000000486cc  /system/lib/libc.so (__ioctl+8)   #01  pc 000000000001d09f  /system/lib/libc.so (ioctl+38)   #02  pc 000000000004267f  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+170)   #03  pc 0000000000043039  /system/lib/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+236)   #04  pc 000000000003d535  /system/lib/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+36)   #05  pc 00000000000bc995  /system/lib/libandroid_runtime.so (???)   #06  pc 0000000000410079  /system/lib/libart.so (art_quick_generic_jni_trampoline+40)   #07  pc 000000000040bb75  /system/lib/libart.so (art_quick_invoke_stub_internal+68)   #08  pc 0000000000410ce7  /system/lib/libart.so (art_quick_invoke_stub+230)   #09  pc 00000000000b0ab7  /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+138)   #10  pc 0000000000205e79  /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+220)   #11  pc 0000000000201395  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+588)   #12  pc 00000000003f5d3b  /system/lib/libart.so (MterpInvokeVirtual+482)   #13  pc 00000000003fdf94  /system/lib/libart.so (ExecuteMterpImpl+14228)   #14  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #15  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #16  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #17  pc 00000000003f691b  /system/lib/libart.so (MterpInvokeInterface+1078)   #18  pc 00000000003fe194  /system/lib/libart.so (ExecuteMterpImpl+14740)   #19  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #20  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #21  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #22  pc 00000000003f691b  /system/lib/libart.so (MterpInvokeInterface+1078)   #23  pc 00000000003fe194  /system/lib/libart.so (ExecuteMterpImpl+14740)   #24  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #25  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #26  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #27  pc 00000000003f5d3b  /system/lib/libart.so (MterpInvokeVirtual+482)   #28  pc 00000000003fdf94  /system/lib/libart.so (ExecuteMterpImpl+14228)   #29  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #30  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #31  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #32  pc 00000000003f5d3b  /system/lib/libart.so (MterpInvokeVirtual+482)   #33  pc 00000000003fdf94  /system/lib/libart.so (ExecuteMterpImpl+14228)   #34  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #35  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #36  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #37  pc 00000000003f6d3d  /system/lib/libart.so (MterpInvokeStatic+184)   #38  pc 00000000003fe114  /system/lib/libart.so (ExecuteMterpImpl+14612)   #39  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #40  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #41  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #42  pc 00000000003f691b  /system/lib/libart.so (MterpInvokeInterface+1078)   #43  pc 00000000003fe194  /system/lib/libart.so (ExecuteMterpImpl+14740)   #44  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #45  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #46  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #47  pc 00000000003f6271  /system/lib/libart.so (MterpInvokeSuper+1148)   #48  pc 00000000003fe014  /system/lib/libart.so (ExecuteMterpImpl+14356)   #49  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #50  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #51  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #52  pc 00000000003f5d3b  /system/lib/libart.so (MterpInvokeVirtual+482)   #53  pc 00000000003fdf94  /system/lib/libart.so (ExecuteMterpImpl+14228)   #54  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #55  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #56  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #57  pc 00000000003f5d3b  /system/lib/libart.so (MterpInvokeVirtual+482)   #58  pc 00000000003fdf94  /system/lib/libart.so (ExecuteMterpImpl+14228)   #59  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #60  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #61  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #62  pc 00000000003f6d3d  /system/lib/libart.so (MterpInvokeStatic+184)   #63  pc 00000000003fe114  /system/lib/libart.so (ExecuteMterpImpl+14612)   at android.os.BinderProxy.transactNative (Native method)   at android.os.BinderProxy.transact (Binder.java:792)   at android.app.IActivityManager\$  Stub\$  Proxy.unbindService (IActivityManager.java:5007)   at android.app.ContextImpl.unbindService (ContextImpl.java:1641)   at android.content.ContextWrapper.unbindService (ContextWrapper.java:703)   at mc.a (com.google.android.gms.policy_ads_fdr_dynamite@21207000@21207000.283464268.283464268:3)   at ld.handleMessage (com.google.android.gms.policy_ads_fdr_dynamite@21207000@21207000.283464268.283464268:10) - locked <0x01ea765f> (a java.util.HashMap)   at android.os.Handler.dispatchMessage (Handler.java:102)   at oz.a (com.google.android.gms.policy_ads_fdr_dynamite@21207000@21207000.283464268.283464268)   at oz.dispatchMessage (com.google.android.gms.policy_ads_fdr_dynamite@21207000@21207000.283464268.283464268)   at android.os.Looper.loop (Looper.java:164)   at android.app.ActivityThread.main (ActivityThread.java:6747)   at java.lang.reflect.Method.invoke (Native method)   at com.android.internal.os.RuntimeInit\$  MethodAndArgsCaller.run (RuntimeInit.java:449)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807) ``

## Residential Proxies – Autoraotate every 5th minute – 30M+ IPs pool all over the world.

Hello Friends,
Are you looking for the best anonymous residential rotating backconnect proxy service, check out https://proxyvoxy.com
– More than 30 Million IPs pool
– Superfast residential proxy
– No Bandwidth Limitations
– Very reasonable Pricing
– Proxy Rotates every 5th minute
– IPs available in all the countries
– 99.9% uptime guaranteed
– 3 Days money-back guarantee
– Fast support
P.S. Get flat 50% discount on Special Backconnect proxies if you order above
2000 Ports. Contact on skype: bmsoftwares to get the discount.

## How do I stop a “more senior” user, that seems to dislike my logic, from harassing every answer I give on StackExchange-RPG [migrated]

How do I stop a “more senior” user, that seems to dislike my logic, from harassing every answer I give on StackExchange-RPG?

I’m starting to feel very pushed away by certain user(s), who seem to enjoy claiming ‘I cant follow your logic”

Insinuating I’m “stupid” & trying to push me away from explaining my logic with thinly veiled “pokes”

Is there an effective way to have it delt with other than burning this account and making a new “fake-user” to escape them

Most of the issues are interpretations of RAW in DnD_5e

## For every 4 ‘c’ in the input push a ‘c’ in the stack (Push down automata)

Given the following language: L = {$$a^{2m}$$ $$c^{4n}$$ $$d^{n}$$ $$b^{m}$$ : m,n >= 0} I’m trying to design a PDA. My aproach is:

-for every 2 ‘a’ push an ‘a’

-for every 4 ‘c’ push a ‘c’

-then pop them to solve the 2nd half of the language

This is the first part to count 2 ‘a’, but the ‘c’part is not very clear:

Any hints or solutions for the problem: ‘’for every 4 ‘c’ push a ‘c’ on the stack‘’

Thanks!