0_0_36284660_4474.cpp:3:2: error: invalid preprocessing directive #difine
#difine std::cin.tie(0);
^
0_0_36284660_4474.cpp:2:14: error: '::ios' has not been declared
#define std::ios::sync_with_stdio(false);
^
0_0_36284660_4474.cpp:4:17: note: in expansion of macro 'std'
using namespace std;
^
0_0_36284660_4474.cpp:2:19: error: 'sync_with_stdio' is not a namespace-name
#define std::ios::sync_with_stdio(false);
^
0_0_36284660_4474.cpp:4:17: note: in expansion of macro 'std'
using namespace std;
^
0_0_36284660_4474.cpp:2:34: error: expected namespace-name before '(' token
#define std::ios::sync_with_stdio(false);
^
0_0_36284660_4474.cpp:4:17: note: in expansion of macro 'std'
using namespace std;
^
0_0_36284660_4474.cpp:2:34: error: expected ';' before '(' token
#define std::ios::sync_with_stdio(false);
^
0_0_36284660_4474.cpp:4:17: note: in expansion of macro 'std'
using namespace std;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdbool:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:56,
from 0_0_36284660_4474.cpp:1:
0_0_36284660_4474.cpp:2:35: error: expected unqualified-id before 'false'
#define std::ios::sync_with_stdio(false);
^
0_0_36284660_4474.cpp:4:17: note: in expansion of macro 'std'
using namespace std;
^
0_0_36284660_4474.cpp:2:35: error: expected ')' before 'false'
#define std::ios::sync_with_stdio(false);
^
0_0_36284660_4474.cpp:4:17: note: in expansion of macro 'std'
using namespace std;
^
0_0_36284660_4474.cpp: In function 'bool check(ll)':
0_0_36284660_4474.cpp:15:38: error: 'upper_bound' was not declared in this scope
int num=upper_bound(stone,stone+n,x)-stone;
^
0_0_36284660_4474.cpp:15:38: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_36284660_4474.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2111:5: note: 'std::upper_bound'
upper_bound(_ForwardIterator __first, _ForwardIterator __last,
^
0_0_36284660_4474.cpp: In function 'int main()':
0_0_36284660_4474.cpp:23:8: error: 'cin' was not declared in this scope
while(cin>>L>>n>>m){
^
0_0_36284660_4474.cpp:23:8: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:74:0,
from 0_0_36284660_4474.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
0_0_36284660_4474.cpp:27:21: error: 'sort' was not declared in this scope
sort(stone,stone+n);
^
0_0_36284660_4474.cpp:27:21: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_36284660_4474.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4705:5: note: 'std::sort'
sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
^
0_0_36284660_4474.cpp:34:3: error: 'cout' was not declared in this scope
cout<<l<<endl;
^
0_0_36284660_4474.cpp:34:3: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:74:0,
from 0_0_36284660_4474.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
0_0_36284660_4474.cpp:34:12: error: 'endl' was not declared in this scope
cout<<l<<endl;
^
0_0_36284660_4474.cpp:34:12: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_36284660_4474.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:564:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^
|