Problem simpletask
User Sans12345
Submission Time 2023-08-12 11:24:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simpletask.cpp:1:1: error: stray ‘\’ in program
1 | \#include <bits/stdc++.h>
| ^
simpletask.cpp:1:2: error: stray ‘#’ in program
1 | \#include <bits/stdc++.h>
| ^
simpletask.cpp:1:3: error: ‘include’ does not name a type
1 | \#include <bits/stdc++.h>
| ^~~~~~~
simpletask.cpp: In constructor ‘node::node(ll, ll)’:
simpletask.cpp:12:3: error: ‘memset’ was not declared in this scope
12 | memset(val,0,sizeof(val));
| ^~~~~~
simpletask.cpp:1:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
+++ |+#include <cstring>
1 | \#include <bits/stdc++.h>
simpletask.cpp: In function ‘int main()’:
simpletask.cpp:49:2: error: ‘scanf’ was not declared in this scope
49 | scanf("%lld%lld\n%s\n",&N,&Q,s);
| ^~~~~
simpletask.cpp:78:75: error: ‘printf’ was not declared in this scope
78 | for(int i=0