| Problem | nis | 
|---|---|
| User | Henries | 
| Submission Time | 2025-01-24 11:28:12 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 nis.cpp: In member function ‘void node::upd(int, long int)’:
nis.cpp:29:22: error: ‘v’ was not declared in this scope
   29 |    val = (val% MOD + v% MOD) % MOD;
      |                      ^
nis.cpp:33:16: error: ‘v’ was not declared in this scope
   33 |    left->upd(p,v);left->val%= MOD;
      |                ^
nis.cpp:36:17: error: ‘v’ was not declared in this scope
   36 |    right->upd(p,v);right ->val%= MOD;
      |                 ^
nis.cpp: In function ‘int main()’:
nis.cpp:70:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
   70 |   ans += dp[i] % MOD;
      |   ^~~
      |   abs
nis.cpp:72:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
   72 |  cout << ans % MOD;
      |          ^~~
      |          abs