peru.cpp: In function 'int solve(int, int, int*)':
peru.cpp:10:14: warning: unused variable 'q' [-Wunused-variable]
10 | ll i,j,p,q,n,m,k,dp[maxn],ans=0,l[maxn],r[maxn],a[maxn];
| ^
peru.cpp:10:18: warning: unused variable 'm' [-Wunused-variable]
10 | ll i,j,p,q,n,m,k,dp[maxn],ans=0,l[maxn],r[maxn],a[maxn];
| ^
peru.cpp:10:20: warning: unused variable 'k' [-Wunused-variable]
10 | ll i,j,p,q,n,m,k,dp[maxn],ans=0,l[maxn],r[maxn],a[maxn];
| ^
peru.cpp:10:37: warning: unused variable 'l' [-Wunused-variable]
10 | ll i,j,p,q,n,m,k,dp[maxn],ans=0,l[maxn],r[maxn],a[maxn];
| ^
peru.cpp:10:45: warning: unused variable 'r' [-Wunused-variable]
10 | ll i,j,p,q,n,m,k,dp[maxn],ans=0,l[maxn],r[maxn],a[maxn];
| ^
/usr/bin/ld: /tmp/cceUkU8z.o:(.bss+0x8): multiple definition of `fin'; /tmp/ccLxYi8w.o:(.bss+0x8): first defined here
/usr/bin/ld: /tmp/cceUkU8z.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccLxYi8w.o:peru.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cceUkU8z.o:(.bss+0x0): multiple definition of `fout'; /tmp/ccLxYi8w.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status