0_0_37036465_10179.cpp:4:7: error: 'll' does not name a type
const ll MOD = 12 * 60 * 360;
^
0_0_37036465_10179.cpp:7:5: error: 'll' does not name a type
ll shun, ni;
^
0_0_37036465_10179.cpp: In function 'bool cmp(oclock, oclock)':
0_0_37036465_10179.cpp:12:14: error: 'struct oclock' has no member named 'shun'
return a.shun < b.shun;
^
0_0_37036465_10179.cpp:12:23: error: 'struct oclock' has no member named 'shun'
return a.shun < b.shun;
^
0_0_37036465_10179.cpp: In function 'int main()':
0_0_37036465_10179.cpp:22:5: error: 'll' was not declared in this scope
ll tmp = h * 360 * 60 + m * 360 + s * 6;
^
0_0_37036465_10179.cpp:27:14: error: 'struct oclock' has no member named 'shun'
a[i].shun = ((h * 60 + m) * 360 + s * 6 + MOD - tmp) % MOD;
^
0_0_37036465_10179.cpp:27:51: error: 'MOD' was not declared in this scope
a[i].shun = ((h * 60 + m) * 360 + s * 6 + MOD - tmp) % MOD;
^
0_0_37036465_10179.cpp:27:57: error: 'tmp' was not declared in this scope
a[i].shun = ((h * 60 + m) * 360 + s * 6 + MOD - tmp) % MOD;
^
0_0_37036465_10179.cpp:28:14: error: 'struct oclock' has no member named 'ni'
a[i].ni = MOD - a[i].shun;
^
0_0_37036465_10179.cpp:28:30: error: 'struct oclock' has no member named 'shun'
a[i].ni = MOD - a[i].shun;
^
0_0_37036465_10179.cpp:32:8: error: expected ';' before 'ans'
ll ans = MOD;
^
0_0_37036465_10179.cpp:33:8: error: expected ';' before 'res1'
ll res1 = MOD - a[1].shun;
^
0_0_37036465_10179.cpp:34:8: error: expected ';' before 'res2'
ll res2 = MOD - a[n].ni;
^
0_0_37036465_10179.cpp:35:5: error: 'ans' was not declared in this scope
ans = min(ans, min(res1, res2));
^
0_0_37036465_10179.cpp:35:24: error: 'res1' was not declared in this scope
ans = min(ans, min(res1, res2));
^
0_0_37036465_10179.cpp:35:30: error: 'res2' was not declared in this scope
ans = min(ans, min(res1, res2));
^
|