0_0_30424580_32197.cpp:12:19: error: exponent has no digits
const double eps=1e-;
^
0_0_30424580_32197.cpp:15:21: error: expected primary-expression before ';' token
const int maxn=1e3+;
^
0_0_30424580_32197.cpp:22:10: error: size of array 'e' is not an integral constant-expression
}*e[maxn];
^
0_0_30424580_32197.cpp:36:14: error: size of array 'dist' is not an integral constant-expression
ll dist[maxn];
^
0_0_30424580_32197.cpp:37:15: error: size of array 'maxp' is not an integral constant-expression
int maxp[maxn];
^
0_0_30424580_32197.cpp: In function 'int main()':
0_0_30424580_32197.cpp:48:17: error: expected primary-expression before ';' token
for (i=;i<=n;i++)
^
0_0_30424580_32197.cpp:49:19: error: expected primary-expression before ';' token
e[i]=;
^
0_0_30424580_32197.cpp:65:14: error: expected primary-expression before ';' token
sum=;
^
0_0_30424580_32197.cpp:66:18: error: expected primary-expression before ';' token
for (be=;be<=n;be++)
^
0_0_30424580_32197.cpp:69:23: error: expected primary-expression before ';' token
dist[be]=;
^
0_0_30424580_32197.cpp:70:26: error: expected primary-expression before ',' token
memset(maxp,,sizeof(maxp));
^
0_0_30424580_32197.cpp:75:26: error: expected primary-expression before ',' token
st.push({be,,});
^
0_0_30424580_32197.cpp:75:28: error: no matching function for call to 'std::priority_queue<rec, std::vector<rec> >::push(<brace-enclosed initializer list>)'
st.push({be,,});
^
0_0_30424580_32197.cpp:75:28: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_30424580_32197.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:499:7: note: void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = rec; _Sequence = std::vector<rec>; _Compare = std::less<rec>; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = rec]
push(const value_type& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:499:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type& {aka const rec&}'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:507:7: note: void std::priority_queue<_Tp, _Sequence, _Compare>::push(std::priority_queue<_Tp, _Sequence, _Compare>::value_type&&) [with _Tp = rec; _Sequence = std::vector<rec>; _Compare = std::less<rec>; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = rec]
push(value_type&& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:507:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::priority_queue<rec, std::vector<rec> >::value_type&& {aka rec&&}'
0_0_30424580_32197.cpp:101:21: error: expected primary-expression before ';' token
for (i=;i<=n;i++)
^
0_0_30424580_32197.cpp:106:6: error: return-statement with no value, in function returning 'int' [-fpermissive]
return ;
^
|