Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Using c++11 range-base for loop

Language: Editor: Layout:
+ ] Compiler args - ] Show input
Compilation time: 0.79 sec, absolute running time: 0.14 sec, cpu time: 0 sec, memory peak: 3 Mb, absolute service time: 0.94 sec 
fork mode |  history  | discussion
User's name:	Nicrodamus
Good day Nicrodamus
d = 1.5

v1 size = 5
v1 content:	1 2 3 4.5 5.25 

iv1 size = 8
iv1 contents:	1 2 6 4 2 8 9 10 

v2 contents:	5 10 20 40 80 
iv2:	4095 8025 16 
v3:	1.25 2.25 3.25 4.25 5.25 6.25 7.25 8.25 9.25 10.25 
v4:	1 2 3 4 5 6 7 8 9 10 
Upper case set:	A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
Lower case set:	a b c d e f g h i j k l m n o p q r s t u v w x y z