Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#include
int one, two, three, four; int max(int a, int b){ return a>=b?a:b; } void checkQuadrant(int x, int y){ if(x>0 && y>0){ one++; }else if(x<0 && y>0){ two++; }else if(x<0 && y<0){ three++; }else if(x>0 && y<0){ four++; } } int main(){ int tc, x, y, n; scanf("%d", &tc); for(int i=1;i<=tc;i++){ one=two=three=four=0; scanf("%d", &n); for(int j=0;j
1?"NO":"YES"); } return 0; }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)