0_0_23260252_17690.cpp:7:9: error: '_int64' does not name a type
typedef _int64 ll;
^
0_0_23260252_17690.cpp:11:3: error: 'll' does not name a type
ll ei, ki;
^
0_0_23260252_17690.cpp: In function 'bool cmp(const ST&, const ST&)':
0_0_23260252_17690.cpp:16:11: error: 'const struct ST' has no member named 'ei'
return a.ei * b.ki < a.ki * b.ei;
^
0_0_23260252_17690.cpp:16:18: error: 'const struct ST' has no member named 'ki'
return a.ei * b.ki < a.ki * b.ei;
^
0_0_23260252_17690.cpp:16:25: error: 'const struct ST' has no member named 'ki'
return a.ei * b.ki < a.ki * b.ei;
^
0_0_23260252_17690.cpp:16:32: error: 'const struct ST' has no member named 'ei'
return a.ei * b.ki < a.ki * b.ei;
^
0_0_23260252_17690.cpp: In function 'int main()':
0_0_23260252_17690.cpp:22:2: error: 'll' was not declared in this scope
ll sum, temp;
^
0_0_23260252_17690.cpp:26:27: error: 'struct ST' has no member named 'ei'
scanf ("%I64d", &st[i].ei);
^
0_0_23260252_17690.cpp:28:27: error: 'struct ST' has no member named 'ki'
scanf ("%I64d", &st[i].ki);
^
0_0_23260252_17690.cpp:32:3: error: 'sum' was not declared in this scope
sum = temp = 0;
^
0_0_23260252_17690.cpp:32:9: error: 'temp' was not declared in this scope
sum = temp = 0;
^
0_0_23260252_17690.cpp:35:18: error: 'struct ST' has no member named 'ei'
temp += st[i].ei;
^
0_0_23260252_17690.cpp:36:24: error: 'struct ST' has no member named 'ki'
sum += temp * st[i].ki;
^
|