Problem candyboxes
User Sans12345
Submission Time 2022-12-23 11:36:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candyboxes.cpp:1:1: error: stray ‘\’ in program
1 | \#include <bits/stdc++.h>
| ^
candyboxes.cpp:1:2: error: stray ‘#’ in program
1 | \#include <bits/stdc++.h>
| ^
candyboxes.cpp:1:3: error: ‘include’ does not name a type
1 | \#include <bits/stdc++.h>
| ^~~~~~~
candyboxes.cpp: In function ‘int main()’:
candyboxes.cpp:7:5: error: ‘scanf’ was not declared in this scope
7 | scanf("%lld%lld",&n,&m);
| ^~~~~
candyboxes.cpp:9:5: error: ‘iota’ was not declared in this scope
9 | iota(deli,deli+n,0);
| ^~~~
candyboxes.cpp:11:5: error: ‘fill’ was not declared in this scope
11 | fill(num,num+n,1);
| ^~~~
candyboxes.cpp:14:18: error: ‘printf’ was not declared in this scope
14 | if(t==3) printf("%lld %lld\n",num[canpos[p]],deli[canpos[p]]);
| ^~~~~~
candyboxes.cpp:1:1: note: ‘printf’ is defined in