0_0_32869433_489.cpp:1:61: error: stray '#' in program
<span style="font-family:'Microsoft YaHei';font-size:14px;">#include<bits/stdc++.h>
^
0_0_32869433_489.cpp:1:1: error: expected unqualified-id before '<' token
<span style="font-family:'Microsoft YaHei';font-size:14px;">#include<bits/stdc++.h>
^
0_0_32869433_489.cpp: In function 'long long int read()':
0_0_32869433_489.cpp:6:29: error: 'getchar' was not declared in this scope
LL f=1,x=0;char ch=getchar();
^
0_0_32869433_489.cpp: In function 'int main()':
0_0_32869433_489.cpp:27:30: error: 'scanf' was not declared in this scope
while(scanf("%lld%lld",&n,&m)!=EOF)
^
0_0_32869433_489.cpp:27:33: error: 'EOF' was not declared in this scope
while(scanf("%lld%lld",&n,&m)!=EOF)
^
0_0_32869433_489.cpp:43:4: error: 'cout' was not declared in this scope
cout<<"-1\n";
^
0_0_32869433_489.cpp:46:23: error: 'memset' was not declared in this scope
memset(f,0,sizeof(f));
^
0_0_32869433_489.cpp:62:9: error: 'cout' was not declared in this scope
cout<<ans<<endl;
^
0_0_32869433_489.cpp:62:20: error: 'endl' was not declared in this scope
cout<<ans<<endl;
^
0_0_32869433_489.cpp: At global scope:
0_0_32869433_489.cpp:67:1: error: expected unqualified-id before '<' token
</span>//https://blog.csdn.net/qwerty1125/article/details/77529730
^
|