cake3.cpp:53:2: error: stray '#' in program
53 | }#include <bits/stdc++.h>
| ^
cake3.cpp:53:12: error: 'bits' was not declared in this scope
53 | }#include <bits/stdc++.h>
| ^~~~
cake3.cpp:53:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
53 | }#include <bits/stdc++.h>
| ^~~~
| std
cake3.cpp:53:12: error: 'bits' was not declared in this scope
53 | }#include <bits/stdc++.h>
| ^~~~
cake3.cpp:53:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
53 | }#include <bits/stdc++.h>
| ^~~~
| std
cake3.cpp:53:12: error: 'bits' was not declared in this scope
53 | }#include <bits/stdc++.h>
| ^~~~
cake3.cpp:53:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
53 | }#include <bits/stdc++.h>
| ^~~~
| std
cake3.cpp:53:12: error: 'bits' was not declared in this scope
53 | }#include <bits/stdc++.h>
| ^~~~
cake3.cpp:53:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
53 | }#include <bits/stdc++.h>
| ^~~~
| std
cake3.cpp:53:12: error: 'bits' was not declared in this scope
53 | }#include <bits/stdc++.h>
| ^~~~
cake3.cpp:53:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
53 | }#include <bits/stdc++.h>
| ^~~~
| std
cake3.cpp:53:12: error: 'bits' was not declared in this scope
53 | }#include <bits/stdc++.h>
| ^~~~
cake3.cpp:53:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
53 | }#include <bits/stdc++.h>
| ^~~~
| std
cake3.cpp:53:12: error: 'bits' was not declared in this scope
53 | }#include <bits/stdc++.h>
| ^~~~
cake3.cpp:53:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
53 | }#include <bits/stdc++.h>
| ^~~~
| std
cake3.cpp:53:12: error: 'bits' was not declared in this scope
53 | }#include <bits/stdc++.h>
| ^~~~
cake3.cpp:53:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
53 | }#include <bits/stdc++.h>
| ^~~~
| std
cake3.cpp:53:12: error: 'bits' was not declared in this scope
53 | }#include <bits/stdc++.h>
| ^~~~
cake3.cpp:53:17: error: 'stdc' was not declared in this scope; did you mean 'std'?
53 | }#include <bits/stdc++.h>
| ^~~~
| std
cake3.cpp:53:3: error: 'include' does not name a type
53 | }#include <bits/stdc++.h>
| ^~~~~~~
cake3.cpp:57:17: error: redefinition of 'const long long int INF'
57 | const long long INF = 1e17;
| ^~~
cake3.cpp:5:17: note: 'const long long int INF' previously defined here
5 | const long long INF = 1e17;
| ^~~
cake3.cpp:59:10: error: redefinition of 'const ll MOD'
59 | const ll MOD = (ll)1e9+7;
| ^~~
cake3.cpp:7:10: note: 'const ll MOD' previously defined here
7 | const ll MOD = (ll)1e9+7;
| ^~~
cake3.cpp:67:6: error: redefinition of 'void file()'
67 | void file() {
| ^~~~
cake3.cpp:15:6: note: 'void file()' previously defined here
15 | void file() {
| ^~~~
cake3.cpp:71:6: error: redefinition of 'void solve()'
71 | void solve() {
| ^~~~~
cake3.cpp:19:6: note: 'void solve()' previously defined here
19 | void solve() {
| ^~~~~
cake3.cpp:100:5: error: redefinition of 'int main()'
100 | int main() {
| ^~~~
cake3.cpp:48:5: note: 'int main()' previously defined here
48 | int main() {
| ^~~~
cake3.cpp: In function 'void file()':
cake3.cpp:16:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | freopen("input.txt","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
cake3.cpp:17:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | freopen("output.txt","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
cake3.cpp: In function 'void file()':
cake3.cpp:68:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
68 | freopen("input.txt","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
cake3.cpp:69:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
69 | freopen("output.txt","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~