| Problem | fenwicktree_easy |
|---|---|
| User | sporknives |
| Submission Time | 2026-01-22 22:22:16 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fenwicktree_easy.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
fenwicktree_easy.cpp:4:9: error: ‘pair’ does not name a type
4 | typedef pair<int,int> pii;
| ^~~~
fenwicktree_easy.cpp: In function ‘int main()’:
fenwicktree_easy.cpp:26:2: error: ‘ios’ has not been declared
26 | ios::sync_with_stdio(0);
| ^~~
fenwicktree_easy.cpp:27:2: error: ‘cin’ was not declared in this scope
27 | cin.tie(nullptr);
| ^~~
fenwicktree_easy.cpp:28:2: error: ‘memset’ was not declared in this scope
28 | memset(ft, 0, sizeof(ft));
| ^~~~~~
fenwicktree_easy.cpp:1:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
+++ |+#include <cstring>
1 | include <bits/stdc++.h>
fenwicktree_easy.cpp:39:4: error: ‘cout’ was not declared in this scope
39 | cout<<query(y)-que