0_0_16246411_26600.cpp: In function 'int main()':
0_0_16246411_26600.cpp:76:17: error: 'cnt' was not declared in this scope
cnt[a[l]]--;
^
0_0_16246411_26600.cpp:83:17: error: 'cnt' was not declared in this scope
cnt[a[r]]--;
^
0_0_16246411_26600.cpp:92:28: error: 'cnt' was not declared in this scope
cur += cnt[k-a[l]];
^
0_0_16246411_26600.cpp:93:17: error: 'cnt' was not declared in this scope
cnt[a[l]]++;
^
0_0_16246411_26600.cpp:99:28: error: 'cnt' was not declared in this scope
cur += cnt[k-a[r]];
^
0_0_16246411_26600.cpp:100:17: error: 'cnt' was not declared in this scope
cnt[a[r]]++;
^
0_0_16246411_26600.cpp: At global scope:
0_0_16246411_26600.cpp:156:2: error: expected unqualified-id before 'return'
return 0;
^
0_0_16246411_26600.cpp:157:1: error: expected declaration before '}' token
}
^
|