File tree 3 files changed +81
-1
lines changed
3 files changed +81
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"files.associations" : {
3
3
"iostream" : " cpp" ,
4
- "ostream" : " cpp"
4
+ "ostream" : " cpp" ,
5
+ "array" : " cpp" ,
6
+ "atomic" : " cpp" ,
7
+ "*.tcc" : " cpp" ,
8
+ "bitset" : " cpp" ,
9
+ "cctype" : " cpp" ,
10
+ "cfenv" : " cpp" ,
11
+ "chrono" : " cpp" ,
12
+ "cinttypes" : " cpp" ,
13
+ "clocale" : " cpp" ,
14
+ "cmath" : " cpp" ,
15
+ "codecvt" : " cpp" ,
16
+ "complex" : " cpp" ,
17
+ "condition_variable" : " cpp" ,
18
+ "csetjmp" : " cpp" ,
19
+ "csignal" : " cpp" ,
20
+ "cstdarg" : " cpp" ,
21
+ "cstddef" : " cpp" ,
22
+ "cstdint" : " cpp" ,
23
+ "cstdio" : " cpp" ,
24
+ "cstdlib" : " cpp" ,
25
+ "cstring" : " cpp" ,
26
+ "ctime" : " cpp" ,
27
+ "cuchar" : " cpp" ,
28
+ "cwchar" : " cpp" ,
29
+ "cwctype" : " cpp" ,
30
+ "deque" : " cpp" ,
31
+ "forward_list" : " cpp" ,
32
+ "list" : " cpp" ,
33
+ "unordered_map" : " cpp" ,
34
+ "unordered_set" : " cpp" ,
35
+ "vector" : " cpp" ,
36
+ "exception" : " cpp" ,
37
+ "fstream" : " cpp" ,
38
+ "functional" : " cpp" ,
39
+ "future" : " cpp" ,
40
+ "initializer_list" : " cpp" ,
41
+ "iomanip" : " cpp" ,
42
+ "iosfwd" : " cpp" ,
43
+ "istream" : " cpp" ,
44
+ "limits" : " cpp" ,
45
+ "memory" : " cpp" ,
46
+ "mutex" : " cpp" ,
47
+ "new" : " cpp" ,
48
+ "numeric" : " cpp" ,
49
+ "optional" : " cpp" ,
50
+ "ratio" : " cpp" ,
51
+ "scoped_allocator" : " cpp" ,
52
+ "shared_mutex" : " cpp" ,
53
+ "sstream" : " cpp" ,
54
+ "stdexcept" : " cpp" ,
55
+ "streambuf" : " cpp" ,
56
+ "string_view" : " cpp" ,
57
+ "system_error" : " cpp" ,
58
+ "thread" : " cpp" ,
59
+ "type_traits" : " cpp" ,
60
+ "tuple" : " cpp" ,
61
+ "typeindex" : " cpp" ,
62
+ "typeinfo" : " cpp" ,
63
+ "utility" : " cpp" ,
64
+ "valarray" : " cpp"
5
65
}
6
66
}
Original file line number Diff line number Diff line change
1
+ #include < bits/stdc++.h>
2
+ using namespace std ;
3
+
4
+ int main ()
5
+ {
6
+ int aux = 0 ,position=0 ;
7
+ int a;
8
+ for (int i = 1 ; i <= 100 ; i++)
9
+ {
10
+ cin >> a;
11
+ if (a > aux){
12
+ aux = a;
13
+ position = i;
14
+ }
15
+
16
+ }
17
+ cout << aux << endl;
18
+ cout << position << endl;
19
+ return 0 ;
20
+ }
You can’t perform that action at this time.
0 commit comments