0_0_25602590_735.cpp:1:1: error: stray '\264' in program
´úÂëÈçÏ£º
^
0_0_25602590_735.cpp:1:1: error: stray '\372' in program
0_0_25602590_735.cpp:1:1: error: stray '\302' in program
0_0_25602590_735.cpp:1:1: error: stray '\353' in program
0_0_25602590_735.cpp:1:1: error: stray '\310' in program
0_0_25602590_735.cpp:1:1: error: stray '\347' in program
0_0_25602590_735.cpp:1:1: error: stray '\317' in program
0_0_25602590_735.cpp:1:1: error: stray '\302' in program
0_0_25602590_735.cpp:1:1: error: stray '\243' in program
0_0_25602590_735.cpp:1:1: error: stray '\272' in program
0_0_25602590_735.cpp:6:9: error: '__int64_t' does not name a type
typedef __int64_t ll;
^
0_0_25602590_735.cpp:11:1: error: 'll' does not name a type
ll ans[maxM];
^
0_0_25602590_735.cpp:27:1: error: 'll' does not name a type
ll tree[maxN];
^
0_0_25602590_735.cpp: In function 'void update(int, int, int)':
0_0_25602590_735.cpp:33:5: error: 'tree' was not declared in this scope
tree[curl] += value;
^
0_0_25602590_735.cpp: At global scope:
0_0_25602590_735.cpp:38:1: error: 'll' does not name a type
ll getSum(int curl)
^
0_0_25602590_735.cpp: In function 'int main()':
0_0_25602590_735.cpp:76:12: error: 'tree' was not declared in this scope
memset(tree,0,sizeof(tree));
^
0_0_25602590_735.cpp:109:9: error: 'ans' was not declared in this scope
ans[asks[i].id] = getSum(asks[i].r) - getSum(asks[i].l - 1);
^
0_0_25602590_735.cpp:109:43: error: 'getSum' was not declared in this scope
ans[asks[i].id] = getSum(asks[i].r) - getSum(asks[i].l - 1);
^
0_0_25602590_735.cpp:114:25: error: 'ans' was not declared in this scope
printf("%lld\n",ans[i]);
^
|