Problem boxispull
User cjcube
Submission Time 2023-11-08 20:47:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxispull.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
boxispull.cpp: In function ‘int main()’:
boxispull.cpp:5:9: error: ‘cin’ was not declared in this scope
5 | int t; cin >> t;
| ^~~
boxispull.cpp:11:19: error: expected ‘;’ before ‘<’ token
11 | for (int i = 0, i < t, i++) {
| ^~
| ;
boxispull.cpp:11:20: error: expected primary-expression before ‘<’ token
11 | for (int i = 0, i < t, i++) {
| ^
boxispull.cpp:11:28: error: expected ‘;’ before ‘)’ token
11 | for (int i = 0, i < t, i++) {
| ^
| ;
boxispull.cpp:12:17: error: ‘abs’ was not declared in this scope
12 | xdifference = abs(x1[i]-x2[i]);
| ^~~
boxispull.cpp:15:4: error: ‘cout’ was not declared in