implementer.cpp: In function ‘int main()’:
implementer.cpp:22:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
22 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
answer.code: In function ‘int inv(int)’:
answer.code:16:10: error: assignment of read-only parameter ‘x’
16 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:18:10: error: assignment of read-only parameter ‘x’
18 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:20:10: error: assignment of read-only parameter ‘x’
20 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:22:10: error: assignment of read-only parameter ‘x’
22 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:24:10: error: assignment of read-only parameter ‘x’
24 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:26:10: error: assignment of read-only parameter ‘x’
26 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:28:10: error: assignment of read-only parameter ‘x’
28 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:30:10: error: assignment of read-only parameter ‘x’
30 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:32:10: error: assignment of read-only parameter ‘x’
32 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:34:10: error: assignment of read-only parameter ‘x’
34 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:36:10: error: assignment of read-only parameter ‘x’
36 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:38:10: error: assignment of read-only parameter ‘x’
38 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:40:10: error: assignment of read-only parameter ‘x’
40 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:42:10: error: assignment of read-only parameter ‘x’
42 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:44:10: error: assignment of read-only parameter ‘x’
44 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:46:10: error: assignment of read-only parameter ‘x’
46 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:48:10: error: assignment of read-only parameter ‘x’
48 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:50:10: error: assignment of read-only parameter ‘x’
50 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:52:10: error: assignment of read-only parameter ‘x’
52 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:54:10: error: assignment of read-only parameter ‘x’
54 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:56:10: error: assignment of read-only parameter ‘x’
56 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:58:10: error: assignment of read-only parameter ‘x’
58 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:60:10: error: assignment of read-only parameter ‘x’
60 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:61:10: error: assignment of read-only parameter ‘x’
61 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:63:10: error: assignment of read-only parameter ‘x’
63 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:65:10: error: assignment of read-only parameter ‘x’
65 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:66:10: error: assignment of read-only parameter ‘x’
66 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:68:10: error: assignment of read-only parameter ‘x’
68 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:70:10: error: assignment of read-only parameter ‘x’
70 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~
answer.code:72:10: error: assignment of read-only parameter ‘x’
72 | x=(ll)x*x%mod;
| ~^~~~~~~~~~~~