0_0_35064783_18201.cpp:19:19: error: stray '#' in program
? ? int T; scanf("%d", &T);
^
0_0_35064783_18201.cpp:19:26: error: stray '#' in program
? ? int T; scanf("%d", &T);
^
0_0_35064783_18201.cpp:21:16: error: stray '#' in program
? ? ? ? scanf("%d", &n);
^
0_0_35064783_18201.cpp:21:23: error: stray '#' in program
? ? ? ? scanf("%d", &n);
^
0_0_35064783_18201.cpp:22:21: error: stray '#' in program
? ? ? ? for (int i = 1; i <= n; ++i)
^
0_0_35064783_18201.cpp:22:33: error: stray '#' in program
? ? ? ? for (int i = 1; i <= n; ++i)
^
0_0_35064783_18201.cpp:23:20: error: stray '#' in program
? ? ? ? ? ? scanf("%d%d", &A[i].val, &A[i].cnt);
^
0_0_35064783_18201.cpp:23:29: error: stray '#' in program
? ? ? ? ? ? scanf("%d%d", &A[i].val, &A[i].cnt);
^
0_0_35064783_18201.cpp:27:14: error: stray '#' in program
? ? ? ? tot = 0; ret = now = 0;
^
0_0_35064783_18201.cpp:27:27: error: stray '#' in program
? ? ? ? tot = 0; ret = now = 0;
^
0_0_35064783_18201.cpp:27:37: error: stray '#' in program
? ? ? ? tot = 0; ret = now = 0;
^
0_0_35064783_18201.cpp:28:21: error: stray '#' in program
? ? ? ? for (int i = 1; i <= n; ++i)
^
0_0_35064783_18201.cpp:28:33: error: stray '#' in program
? ? ? ? for (int i = 1; i <= n; ++i)
^
0_0_35064783_18201.cpp:29:25: error: stray '#' in program
? ? ? ? ? ? for (int j = 1; j <= A[i].cnt; ++j) {
^
0_0_35064783_18201.cpp:29:37: error: stray '#' in program
? ? ? ? ? ? for (int j = 1; j <= A[i].cnt; ++j) {
^
0_0_35064783_18201.cpp:30:27: error: stray '#' in program
? ? ? ? ? ? ? ? c[++tot] = A[i].val;
^
0_0_35064783_18201.cpp:31:23: error: stray '#' in program
? ? ? ? ? ? ? ? ret += c[tot] * tot;
^
0_0_35064783_18201.cpp:32:23: error: stray '#' in program
? ? ? ? ? ? ? ? now += c[tot];
^
0_0_35064783_18201.cpp:34:14: error: stray '#' in program
? ? ? ? ans = ret;
^
0_0_35064783_18201.cpp:35:21: error: stray '#' in program
? ? ? ? for (int i = 1; i <= tot; ++i) {
^
0_0_35064783_18201.cpp:35:33: error: stray '#' in program
? ? ? ? for (int i = 1; i <= tot; ++i) {
^
0_0_35064783_18201.cpp:36:19: error: stray '#' in program
? ? ? ? ? ? ret -= now;
^
0_0_35064783_18201.cpp:37:19: error: stray '#' in program
? ? ? ? ? ? now -= c[i];
^
0_0_35064783_18201.cpp:38:18: error: stray '#' in program
? ? ? ? ? ? ans = max(ans, ret);
^
0_0_35064783_18201.cpp:40:17: error: stray '#' in program
? ? ? ? printf("%I64d\n", ans);
^
0_0_35064783_18201.cpp:40:1: error: stray '\' in program
? ? ? ? printf("%I64d\n", ans);
^
0_0_35064783_18201.cpp:40:29: error: stray '#' in program
? ? ? ? printf("%I64d\n", ans);
^
0_0_35064783_18201.cpp: In function 'int main()':
0_0_35064783_18201.cpp:19:1: error: expected primary-expression before '?' token
? ? int T; scanf("%d", &T);
^
0_0_35064783_18201.cpp:19:3: error: expected primary-expression before '?' token
? ? int T; scanf("%d", &T);
^
0_0_35064783_18201.cpp:19:5: error: expected primary-expression before 'int'
? ? int T; scanf("%d", &T);
^
0_0_35064783_18201.cpp:19:5: error: expected ':' before 'int'
0_0_35064783_18201.cpp:19:5: error: expected primary-expression before 'int'
0_0_35064783_18201.cpp:19:5: error: expected ':' before 'int'
0_0_35064783_18201.cpp:19:5: error: expected primary-expression before 'int'
0_0_35064783_18201.cpp:19:20: error: lvalue required as unary '&' operand
? ? int T; scanf("%d", &T);
^
0_0_35064783_18201.cpp:19:23: error: expected primary-expression before '%' token
? ? int T; scanf("%d", &T);
^
0_0_35064783_18201.cpp:19:24: error: 'd' was not declared in this scope
? ? int T; scanf("%d", &T);
^
0_0_35064783_18201.cpp:19:30: error: expected primary-expression before ',' token
? ? int T; scanf("%d", &T);
^
0_0_35064783_18201.cpp:19:33: error: 'T' was not declared in this scope
? ? int T; scanf("%d", &T);
^
0_0_35064783_18201.cpp:20:1: error: expected primary-expression before '?' token
? ? while (T--) {
^
0_0_35064783_18201.cpp:20:3: error: expected primary-expression before '?' token
? ? while (T--) {
^
0_0_35064783_18201.cpp:20:5: error: expected primary-expression before 'while'
? ? while (T--) {
^
0_0_35064783_18201.cpp:20:5: error: expected ':' before 'while'
0_0_35064783_18201.cpp:20:5: error: expected primary-expression before 'while'
0_0_35064783_18201.cpp:20:5: error: expected ':' before 'while'
0_0_35064783_18201.cpp:20:5: error: expected primary-expression before 'while'
0_0_35064783_18201.cpp:42:1: error: expected primary-expression before '?' token
? ? return 0;
^
0_0_35064783_18201.cpp:42:3: error: expected primary-expression before '?' token
? ? return 0;
^
0_0_35064783_18201.cpp:42:5: error: expected primary-expression before 'return'
? ? return 0;
^
0_0_35064783_18201.cpp:42:5: error: expected ':' before 'return'
0_0_35064783_18201.cpp:42:5: error: expected primary-expression before 'return'
0_0_35064783_18201.cpp:42:5: error: expected ':' before 'return'
0_0_35064783_18201.cpp:42:5: error: expected primary-expression before 'return'
|