Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Dasi
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
A=10 B=20 C=30 C=A+B print(C) C=A-B print (C) C=A%%B print (C) stocks=c(21,29,30,40,50) min(stocks) max(stocks) print (stocks) rev(stocks) order(stocks) stocks[order (stocks)] stocks[order(-stocks)] mynames=c("mon","tue","wed","sat","sun") names(stocks)=mynames stocks stocks["mon"] stocks["sun"] over21=stocks>21 over21 stocks[over21] stocks[stocks>21] stocks[stocks==max(stocks)] s=seq(1:10) s rev(s) v=c(1,2,3,4,5,6,7,8,9,10) v v[4]
[
+
]
Show input
Absolute running time: 0.33 sec, cpu time: 0.64 sec, memory peak: 36 Mb, absolute service time: 0,55 sec
edit mode
|
history
|
discussion