Problem carpark
User huangchengcheng
Submission Time 2026-06-10 22:54:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

carpark.cpp:1:1: error: ‘include’ does not name a type
1 | include<bits/stdc++.h>
| ^~~~~~~
carpark.cpp:3:1: error: ‘define’ does not name a type
3 | define int long long;
| ^~~~~~
carpark.cpp: In function ‘int main()’:
carpark.cpp:6:5: error: ‘ios’ has not been declared
6 | ios::sync_with_stdio(false);
| ^~~
carpark.cpp:7:5: error: ‘cin’ was not declared in this scope
7 | cin.tie(NULL);cout.tie(NULL);
| ^~~
carpark.cpp:7:13: error: ‘NULL’ was not declared in this scope
7 | cin.tie(NULL);cout.tie(NULL);
| ^~~~
carpark.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | include<bits/stdc++.h>
carpark.cpp:7:19: error: ‘cout’ was not declared in this scope
7 | cin.tie(NULL);cout.tie(NULL);
| ^~~~
carpark.