Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Buenos Amigos
//g++ 5.4.0 #include <iostream> using namespace std; int main() { int casos,n,res; cin>>casos; while(casos--){ cin>>n; res=((n-1)*(n-2))/2; cout<<res<<"\n"; } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
MAC
ProPriceTemp
SVGAnimated Value
python
single_digit
initializer_list example
Power of an element
TypeSizeTest
BridgeEdge
1234
Please log in to post a comment.