标签:++ include style printf ace tor div class print
1 #include<bits/stdc++.h> 2 using namespace std; 3 int n,m,s; 4 struct edge{ 5 int x, y, val; 6 bool operator < (const edge &tx) const{ 7 return val < tx.val; 8 } 9 }; 10 int main() 11 { 12 edge a, b; 13 a.val = 1; 14 b.val = 2; 15 printf("%d ", b<a); 16 }
标签:++ include style printf ace tor div class print
原文地址:https://www.cnblogs.com/lizinuo/p/9904447.html