0_0_38810971_28525.cpp:1:8: error: stray '#' in program
1 | Circuit#include<bits/stdc++.h>
| ^
0_0_38810971_28525.cpp:1:1: error: 'Circuit' does not name a type
1 | Circuit#include<bits/stdc++.h>
| ^~~~~~~
0_0_38810971_28525.cpp: In function 'int read()':
0_0_38810971_28525.cpp:8:25: error: 'getchar' was not declared in this scope
8 | int x=0,f=1;char ch=getchar();
| ^~~~~~~
0_0_38810971_28525.cpp:1:1: note: 'getchar' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | Circuit#include<bits/stdc++.h>
0_0_38810971_28525.cpp: In function 'void write(long long int)':
0_0_38810971_28525.cpp:14:17: error: 'putchar' was not declared in this scope; did you mean 'char'?
14 | if(x<0) putchar('-'),x=-x;
| ^~~~~~~
| char
0_0_38810971_28525.cpp:16:9: error: 'putchar' was not declared in this scope; did you mean 'char'?
16 | putchar(x%10+'0');
| ^~~~~~~
| char
0_0_38810971_28525.cpp: In function 'int main()':
0_0_38810971_28525.cpp:60:9: error: 'cin' was not declared in this scope
60 | cin>>T;
| ^~~
0_0_38810971_28525.cpp:73:25: error: 'cout' was not declared in this scope
73 | cout<<"-1"<<" "<<"-1"<<endl;
| ^~~~
0_0_38810971_28525.cpp:73:48: error: 'endl' was not declared in this scope
73 | cout<<"-1"<<" "<<"-1"<<endl;
| ^~~~
0_0_38810971_28525.cpp:76:25: error: 'cout' was not declared in this scope
76 | cout<<ans1<<" "<<ans2<<endl;
| ^~~~
0_0_38810971_28525.cpp:76:48: error: 'endl' was not declared in this scope
76 | cout<<ans1<<" "<<ans2<<endl;
| ^~~~
|