Problem dquery
User zyq69
Submission Time 2024-02-23 00:10:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dquery.cpp: In function ‘bool cmp(std::pair<std::pair<long long int, long long int>, long long int>, std::pair<std::pair<long long int, long long int>, long long int>)’:
dquery.cpp:19:7: error: ‘block’ was not declared in this scope; did you mean ‘std::filesystem::file_type::block’?
19 | if(w/block != y/block){
| ^~~~~
| std::filesystem::file_type::block
In file included from /usr/include/c++/9/filesystem:36,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:129,
from dquery.cpp:1:
/usr/include/c++/9/bits/fs_fwd.h:76:7: note: ‘std::filesystem::file_type::block’ declared here
76 | block = 4, character = 5, fifo = 6, socket = 7, unknown = 8
| ^~~~~