{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\n\u003cscript\u003e\n window.katexOptions \u003d {\n delimiters: [\n {left: \u0027$$$$$$\u0027, right: \u0027$$$$$$\u0027, display: true},\n {left: \u0027$$$\u0027, right: \u0027$$$\u0027, display: false},\n {left: \u0027$$\u0027, right: \u0027$$\u0027, display: true},\n {left: \u0027$\u0027, right: \u0027$\u0027, display: false}\n ]\n };\n\u003c/script\u003e\n","sections":[{"title":"","value":{"format":"HTML","content":"众所周知,lk学姐喜欢吃糖,就在今天,lk学姐从小学妹那里嫖了一堆糖,仔细分了分,总共有三种糖果,x个棉花糖,y个软糖,和z个奶糖,但是lk学姐为了保证自己英俊潇洒的身形,一天只吃两颗糖,而且挑剔的他一天吃的那两颗糖种类一定要不同,请问,他嫖来的糖能吃几天呢?"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003e第一行输入一个t,代表以下有t组数据(1≤t≤1000)\u003c/p\u003e\n\u003cp\u003e以下每一行输出一组数据,一组数据共三个数,x,y,z(1≤x,y,z≤1e8)\u003c/p\u003e\n"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003e每组输出占一行,输出lk学姐计划吃糖果的天数.\u003c/p\u003e"}},{"title":"Example","value":{"format":"HTML","content":"\u003cdiv class\u003d\"sample-test\"\u003e\n \u003cdiv class\u003d\"input\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Input\n \u003c/div\u003e\n \u003cpre\u003e6\n1 1 1\n1 2 1\n4 1 1\n7 4 10\n8 1 4\n8 2 8\n\u003c/pre\u003e\n \u003c/div\u003e\n \u003cdiv class\u003d\"output\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Output\n \u003c/div\u003e\n \u003cpre\u003e1\n2\n2\n10\n5\n9\n\u003c/pre\u003e\n \u003c/div\u003e\n\u003c/div\u003e"}},{"title":"Note","value":{"format":"HTML","content":"\u003cp\u003e在第一个例子中,lk学姐只能吃一天的糖果。他第一天可以吃任何一对糖果,因为它们都不同。\u003c/p\u003e\n\u003cp\u003e在第二个例子中,lk学姐可以吃两天的糖果。例如,他可以在第一天吃棉花糖和软糖,在第二天吃软糖和奶糖。\u003c/p\u003e\n\u003cp\u003e在第三个例子中,lk学姐可以吃两天的糖果。例如,他可以在第一天吃棉花糖和软糖,在第二天吃棉花糖和奶糖。注意,两个棉花糖将一直保持未食用状态。\u003c/p\u003e"}}]}