Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Спринт 1. Сортировка вектора структур. Задание 1.
shushus
Dec 3rd, 2022
105
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
struct
Document
{
int
id
;
int
relevance
;
}
;
bool
HasDocumentGreaterRelevance
(
const
Document
&
lhs,
const
Document
&
rhs
)
{
return
lhs.
relevance
>
rhs.
relevance
;
}
int
main
(
)
{
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
+12,000$ in 2 days
CSS | 8 min ago | 0.71 KB
Free Crypto Method
CSS | 9 min ago | 0.70 KB
Documents
9 min ago | 0.43 KB
Office 2024 Kopen
6 hours ago | 0.91 KB
Gids voor het aanschaffen van Office 2021 lic...
7 hours ago | 1.17 KB
DisableProcessWatcherSupport.ps1
8 hours ago | 6.14 KB
Rare Scanner Bug Report 10/04/2026
13 hours ago | 2.67 KB
KF1 nftables firewall rules
22 hours ago | 2.27 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!