0_0_22877632_25003.cpp:23:5: error: 'LL' does not name a type
LL time , id;
^
0_0_22877632_25003.cpp: In member function 'bool node::operator<(const node&) const':
0_0_22877632_25003.cpp:26:27: error: 'const struct node' has no member named 'time'
return time > rhs.time;
^
0_0_22877632_25003.cpp: At global scope:
0_0_22877632_25003.cpp:31:1: error: 'LL' does not name a type
LL clo[maxn * 10];
^
0_0_22877632_25003.cpp: In function 'int main()':
0_0_22877632_25003.cpp:42:16: error: 'struct node' has no member named 'time'
st.time = w[i]; st.id = i;
^
0_0_22877632_25003.cpp:42:36: error: 'struct node' has no member named 'id'
st.time = w[i]; st.id = i;
^
0_0_22877632_25003.cpp:47:16: error: 'struct node' has no member named 'time'
st.time = d[i]; st.id = i;
^
0_0_22877632_25003.cpp:47:36: error: 'struct node' has no member named 'id'
st.time = d[i]; st.id = i;
^
0_0_22877632_25003.cpp:52:13: error: 'clo' was not declared in this scope
clo[i] = cur.time;
^
0_0_22877632_25003.cpp:52:26: error: 'struct node' has no member named 'time'
clo[i] = cur.time;
^
0_0_22877632_25003.cpp:53:16: error: 'struct node' has no member named 'time'
st.time = cur.time + w[cur.id]; st.id = cur.id;
^
0_0_22877632_25003.cpp:53:27: error: 'struct node' has no member named 'time'
st.time = cur.time + w[cur.id]; st.id = cur.id;
^
0_0_22877632_25003.cpp:53:40: error: 'struct node' has no member named 'id'
st.time = cur.time + w[cur.id]; st.id = cur.id;
^
0_0_22877632_25003.cpp:53:56: error: 'struct node' has no member named 'id'
st.time = cur.time + w[cur.id]; st.id = cur.id;
^
0_0_22877632_25003.cpp:53:65: error: 'struct node' has no member named 'id'
st.time = cur.time + w[cur.id]; st.id = cur.id;
^
0_0_22877632_25003.cpp:56:8: error: 'LL' was not declared in this scope
LL ans = -1;
^
0_0_22877632_25003.cpp:59:13: error: 'ans' was not declared in this scope
ans = max(ans , clo[i] + cur.time);
^
0_0_22877632_25003.cpp:59:29: error: 'clo' was not declared in this scope
ans = max(ans , clo[i] + cur.time);
^
0_0_22877632_25003.cpp:59:42: error: 'struct node' has no member named 'time'
ans = max(ans , clo[i] + cur.time);
^
0_0_22877632_25003.cpp:60:16: error: 'struct node' has no member named 'time'
st.time = cur.time + d[cur.id]; st.id = cur.id;
^
0_0_22877632_25003.cpp:60:27: error: 'struct node' has no member named 'time'
st.time = cur.time + d[cur.id]; st.id = cur.id;
^
0_0_22877632_25003.cpp:60:40: error: 'struct node' has no member named 'id'
st.time = cur.time + d[cur.id]; st.id = cur.id;
^
0_0_22877632_25003.cpp:60:56: error: 'struct node' has no member named 'id'
st.time = cur.time + d[cur.id]; st.id = cur.id;
^
0_0_22877632_25003.cpp:60:65: error: 'struct node' has no member named 'id'
st.time = cur.time + d[cur.id]; st.id = cur.id;
^
0_0_22877632_25003.cpp:63:44: error: 'ans' was not declared in this scope
printf("Case #%d: %lld\n",++kase , ans);
^
|