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
using namespace std; int main() { int n; int prethoden_broj; int dali_sme_na_prviot_broj = 1; int strogo_rastecka_niza = 1; while(cin >> n) { if(n <= 0) { break; } if(dali_sme_na_prviot_broj == 1) { prethoden_broj = n; dali_sme_na_prviot_broj = -1; } else { if(n <= prethoden_broj) { strogo_rastecka_niza = 0; } prethoden_broj = n; } } if(strogo_rastecka_niza == 1) { cout << "Strogo rastecka" << endl; } else { cout << "Ne e strogo rastecka" << endl; } 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)