fork download
  1. @Tuấn Hùng //Dai Ca Di Hoc
  2. #include <bits/stdc++.h>
  3. #define sz(x) int(x.size())
  4. #define reset(x) memset(x, 0, sizeof(x))
  5. #define MIN(x,y) if (x < y) x = y
  6. #define PB push_back
  7. #define mp make_pair
  8. #define F first
  9. #define S second
  10. #define Task "dream"
  11. #define maxn 102
  12. #define MOD 1000000007
  13. #define remain(x) if (x > MOD) x -= MOD
  14. #define pii pair<int, int>
  15. #define ll long long
  16. #define itm map <ll , ll> :: iterator
  17.  
  18. map <ll, ll> b;
  19. long long a[1000003];
  20.  
  21.  
  22. int main()
  23. { ios_base::sync_with_stdio(0);
  24. cin.tie(0);
  25. cout.tie(0);
  26.  
  27.  
  28. long long n , x , y;
  29. cin >> n >> x >> y;
  30.  
  31. for( ll i = 1; i <= n; i++)
  32. {
  33. long long x;
  34. cin >> x;
  35. b[x]++;
  36. a[i] = x;
  37. }
  38. long long min= 999999999999;
  39. long long min_;
  40. for (itm it = b.begin() ; it != b.end() ; it++)
  41. {
  42. if (it -> second < min)
  43. {
  44. min_= it -> first;
  45. min = it -> second;
  46. }
  47. }
  48.  
  49.  
  50. cout<< x * n - min * y << ' ' << min << endl;
  51. for ( long long i = 1; i<= n; i++)
  52. {
  53. if (a[i] == min_){ cout << i << ' ';}
  54. }
  55.  
  56. return 0;
  57. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:1: error: stray ‘@’ in program
 @Tuấn Hùng //Dai Ca Di Hoc
 ^
prog.cpp:1:4: error: stray ‘\341’ in program
 @Tuấn Hùng //Dai Ca Di Hoc
    ^
prog.cpp:1:5: error: stray ‘\272’ in program
 @Tuấn Hùng //Dai Ca Di Hoc
     ^
prog.cpp:1:6: error: stray ‘\245’ in program
 @Tuấn Hùng //Dai Ca Di Hoc
      ^
prog.cpp:1:10: error: stray ‘\303’ in program
 @Tuấn Hùng //Dai Ca Di Hoc
          ^
prog.cpp:1:11: error: stray ‘\271’ in program
 @Tuấn Hùng //Dai Ca Di Hoc
           ^
prog.cpp:1:2: error: ‘Tu’ does not name a type
 @Tuấn Hùng //Dai Ca Di Hoc
  ^~
In file included from /usr/include/c++/8/cmath:43,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/include/c++/8/ext/type_traits.h:162:35: error: ‘bool __gnu_cxx::__is_null_pointer’ redeclared as different kind of symbol
   __is_null_pointer(std::nullptr_t)
                                   ^
/usr/include/c++/8/ext/type_traits.h:157:5: note: previous declaration ‘template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)’
     __is_null_pointer(_Type)
     ^~~~~~~~~~~~~~~~~
/usr/include/c++/8/ext/type_traits.h:162:26: error: ‘nullptr_t’ is not a member of ‘std’
   __is_null_pointer(std::nullptr_t)
                          ^~~~~~~~~
In file included from /usr/include/c++/8/bits/exception_ptr.h:40,
                 from /usr/include/c++/8/exception:143,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/new:120:31: error: declaration of ‘operator new’ as non-function
 void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                               ^
/usr/include/c++/8/new:120:25: error: ‘size_t’ is not a member of ‘std’
 void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                         ^~~~~~
/usr/include/c++/8/new:120:25: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/exception_ptr.h:40,
                 from /usr/include/c++/8/exception:143,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/new:121:41: error: attributes after parenthesized initializer ignored [-fpermissive]
   __attribute__((__externally_visible__));
                                         ^
/usr/include/c++/8/new:122:33: error: declaration of ‘operator new []’ as non-function
 void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                                 ^
/usr/include/c++/8/new:122:27: error: ‘size_t’ is not a member of ‘std’
 void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                           ^~~~~~
/usr/include/c++/8/new:122:27: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/exception_ptr.h:40,
                 from /usr/include/c++/8/exception:143,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/new:123:41: error: attributes after parenthesized initializer ignored [-fpermissive]
   __attribute__((__externally_visible__));
                                         ^
/usr/include/c++/8/new:129:34: error: ‘std::size_t’ has not been declared
 void operator delete(void*, std::size_t) _GLIBCXX_USE_NOEXCEPT
                                  ^~~~~~
/usr/include/c++/8/new:131:36: error: ‘std::size_t’ has not been declared
 void operator delete[](void*, std::size_t) _GLIBCXX_USE_NOEXCEPT
                                    ^~~~~~
/usr/include/c++/8/new:134:25: error: declaration of ‘operator new’ as non-function
 void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                         ^~~~~~
/usr/include/c++/8/new:134:25: error: ‘size_t’ is not a member of ‘std’
/usr/include/c++/8/new:134:25: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/exception_ptr.h:40,
                 from /usr/include/c++/8/exception:143,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/new:134:33: error: expected primary-expression before ‘const’
 void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                                 ^~~~~
/usr/include/c++/8/new:136:27: error: declaration of ‘operator new []’ as non-function
 void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                           ^~~~~~
/usr/include/c++/8/new:136:27: error: ‘size_t’ is not a member of ‘std’
/usr/include/c++/8/new:136:27: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/exception_ptr.h:40,
                 from /usr/include/c++/8/exception:143,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/new:136:35: error: expected primary-expression before ‘const’
 void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                                   ^~~~~
/usr/include/c++/8/new:168:32: error: declaration of ‘operator new’ as non-function
 inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                ^~~~~~
/usr/include/c++/8/new:168:32: error: ‘size_t’ is not a member of ‘std’
/usr/include/c++/8/new:168:32: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/exception_ptr.h:40,
                 from /usr/include/c++/8/exception:143,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/new:168:40: error: expected primary-expression before ‘void’
 inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                        ^~~~
/usr/include/c++/8/new:170:34: error: declaration of ‘operator new []’ as non-function
 inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                  ^~~~~~
/usr/include/c++/8/new:170:34: error: ‘size_t’ is not a member of ‘std’
/usr/include/c++/8/new:170:34: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/exception_ptr.h:40,
                 from /usr/include/c++/8/exception:143,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/new:170:42: error: expected primary-expression before ‘void’
 inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                          ^~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:350:31: error: ‘std::size_t’ has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^~~~~~
/usr/include/c++/8/type_traits:351:25: error: ‘_Size’ was not declared in this scope
     struct is_array<_Tp[_Size]>
                         ^~~~~
/usr/include/c++/8/type_traits:351:31: error: template argument 1 is invalid
     struct is_array<_Tp[_Size]>
                               ^
/usr/include/c++/8/type_traits:549:42: error: ‘nullptr_t’ is not a member of ‘std’
     struct __is_null_pointer_helper<std::nullptr_t>
                                          ^~~~~~~~~
/usr/include/c++/8/type_traits:549:42: note: suggested alternative:
In file included from /usr/include/c++/8/cstddef:50,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:45,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:444:29: note:   ‘nullptr_t’
   typedef decltype(nullptr) nullptr_t;
                             ^~~~~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:549:42: error: ‘nullptr_t’ is not a member of ‘std’
     struct __is_null_pointer_helper<std::nullptr_t>
                                          ^~~~~~~~~
/usr/include/c++/8/type_traits:549:42: note: suggested alternative:
In file included from /usr/include/c++/8/cstddef:50,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:45,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:444:29: note:   ‘nullptr_t’
   typedef decltype(nullptr) nullptr_t;
                             ^~~~~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:549:51: error: template argument 1 is invalid
     struct __is_null_pointer_helper<std::nullptr_t>
                                                   ^
/usr/include/c++/8/type_traits:1289:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, alignof(_Tp)> { };
                                     ^~~~~~
/usr/include/c++/8/type_traits:1289:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1289:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, alignof(_Tp)> { };
                                     ^~~~~~
/usr/include/c++/8/type_traits:1289:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1289:57: error: template argument 1 is invalid
     : public integral_constant<std::size_t, alignof(_Tp)> { };
                                                         ^
/usr/include/c++/8/type_traits:1289:57: note: invalid template non-type parameter
/usr/include/c++/8/type_traits:1294:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 0> { };
                                     ^~~~~~
/usr/include/c++/8/type_traits:1294:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1294:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 0> { };
                                     ^~~~~~
/usr/include/c++/8/type_traits:1294:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1294:46: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 0> { };
                                              ^
/usr/include/c++/8/type_traits:1294:46: note: invalid template non-type parameter
/usr/include/c++/8/type_traits:1296:31: error: ‘std::size_t’ has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^~~~~~
/usr/include/c++/8/type_traits:1297:21: error: ‘_Size’ was not declared in this scope
     struct rank<_Tp[_Size]>
                     ^~~~~
/usr/include/c++/8/type_traits:1297:27: error: template argument 1 is invalid
     struct rank<_Tp[_Size]>
                           ^
/usr/include/c++/8/type_traits:1298:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                     ^~~~~~
/usr/include/c++/8/type_traits:1298:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1298:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                     ^~~~~~
/usr/include/c++/8/type_traits:1298:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1298:65: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                                                 ^
/usr/include/c++/8/type_traits:1298:65: note: invalid template non-type parameter
/usr/include/c++/8/type_traits:1302:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                     ^~~~~~
/usr/include/c++/8/type_traits:1302:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1302:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                     ^~~~~~
/usr/include/c++/8/type_traits:1302:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1302:65: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                                                 ^
/usr/include/c++/8/type_traits:1302:65: note: invalid template non-type parameter
/usr/include/c++/8/type_traits:1307:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 0> { };
                                     ^~~~~~
/usr/include/c++/8/type_traits:1307:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1307:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t, 0> { };
                                     ^~~~~~
/usr/include/c++/8/type_traits:1307:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1307:46: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 0> { };
                                              ^
/usr/include/c++/8/type_traits:1307:46: note: invalid template non-type parameter
/usr/include/c++/8/type_traits:1309:47: error: ‘std::size_t’ has not been declared
   template<typename _Tp, unsigned _Uint, std::size_t _Size>
                                               ^~~~~~
/usr/include/c++/8/type_traits:1310:23: error: ‘_Size’ was not declared in this scope
     struct extent<_Tp[_Size], _Uint>
                       ^~~~~
/usr/include/c++/8/type_traits:1310:36: error: template argument 1 is invalid
     struct extent<_Tp[_Size], _Uint>
                                    ^
/usr/include/c++/8/type_traits:1311:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t,
                                     ^~~~~~
/usr/include/c++/8/type_traits:1311:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1311:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t,
                                     ^~~~~~
/usr/include/c++/8/type_traits:1311:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1312:24: error: ‘_Size’ was not declared in this scope
           _Uint == 0 ? _Size : extent<_Tp,
                        ^~~~~
/usr/include/c++/8/type_traits:1313:28: error: template argument 1 is invalid
           _Uint - 1>::value>
                            ^
/usr/include/c++/8/type_traits:1313:28: note: invalid template non-type parameter
/usr/include/c++/8/type_traits:1318:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t,
                                     ^~~~~~
/usr/include/c++/8/type_traits:1318:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1318:37: error: ‘size_t’ is not a member of ‘std’
     : public integral_constant<std::size_t,
                                     ^~~~~~
/usr/include/c++/8/type_traits:1318:37: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/bits/move.h:55,
                 from /usr/include/c++/8/bits/nested_exception.h:40,
                 from /usr/include/c++/8/exception:144,
                 from /usr/include/c++/8/ios:39,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/type_traits:1320:31: error: template argument 1 is invalid
              _Uint - 1>::value>
                               ^
/usr/include/c++/8/type_traits:1320:31: note: invalid template non-type parameter
/usr/include/c++/8/type_traits:1748:31: error: ‘std::size_t’ has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^~~~~~
/usr/include/c++/8/type_traits:1749:30: error: ‘_Size’ was not declared in this scope
     struct remove_extent<_Tp[_Size]>
                              ^~~~~
/usr/include/c++/8/type_traits:1749:36: error: template argument 1 is invalid
     struct remove_extent<_Tp[_Size]>
                                    ^
/usr/include/c++/8/type_traits:1761:31: error: ‘std::size_t’ has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^~~~~~
/usr/include/c++/8/type_traits:1762:35: error: ‘_Size’ was not declared in this scope
     struct remove_all_extents<_Tp[_Size]>
                                   ^~~~~
/usr/include/c++/8/type_traits:1762:41: error: template argument 1 is invalid
     struct remove_all_extents<_Tp[_Size]>
                                         ^
/usr/include/c++/8/type_traits:1820:17: error: ‘std::size_t’ has not been declared
   template<std::size_t _Len>
                 ^~~~~~
/usr/include/c++/8/type_traits:1825:23: error: ‘_Len’ was not declared in this scope
  unsigned char __data[_Len];
                       ^~~~
/usr/include/c++/8/type_traits:1825:23: note: suggested alternative: ‘__yn’
  unsigned char __data[_Len];
                       ^~~~
                       __yn
/usr/include/c++/8/type_traits:1840:17: error: ‘std::size_t’ has not been declared
   template<std::size_t _Len, std::size_t _Align =
                 ^~~~~~
/usr/include/c++/8/type_traits:1840:35: error: ‘std::size_t’ has not been declared
   template<std::size_t _Len, std::size_t _Align =
                                   ^~~~~~
/usr/include/c++/8/type_traits:1841:48: error: ‘_Len’ was not declared in this scope
     __alignof__(typename __aligned_storage_msa<_Len>::__type)>
                                                ^~~~
/usr/include/c++/8/type_traits:1841:48: note: suggested alternative: ‘__yn’
     __alignof__(typename __aligned_storage_msa<_Len>::__type)>
                                                ^~~~
                                                __yn
/usr/include/c++/8/type_traits:1841:52: error: template argument 1 is invalid
     __alignof__(typename __aligned_storage_msa<_Len>::__type)>
                                                    ^
/usr/include/c++/8/type_traits:1846:23: error: ‘_Len’ was not declared in this scope
  unsigned char __data[_Len];
                       ^~~~
/usr/include/c++/8/type_traits:1846:23: note: suggested alternative: ‘__yn’
  unsigned char __data[_Len];
                       ^~~~
                       __yn
/usr/include/c++/8/type_traits:1847:37: error: ‘_Align’ was not declared in this scope
  struct __attribute__((__aligned__((_Align)))) { } __align;
                                     ^~~~~~
/usr/include/c++/8/type_traits:1847:37: note: suggested alternative: ‘__logl’
  struct __attribute__((__aligned__((_Align)))) { } __align;
                                     ^~~~~~
                                     __logl
In file included from /usr/include/c++/8/bits/stl_algobase.h:64,
                 from /usr/include/c++/8/bits/char_traits.h:39,
                 from /usr/include/c++/8/ios:40,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/bits/stl_pair.h:86:17: error: ‘std::size_t’ has not been declared
   template<std::size_t...>
                 ^~~~~~
/usr/include/c++/8/bits/stl_pair.h:434:41: error: ‘std::size_t’ has not been declared
       template<typename... _Args1, std::size_t... _Indexes1,
                                         ^~~~~~
/usr/include/c++/8/bits/stl_pair.h:435:41: error: ‘std::size_t’ has not been declared
                typename... _Args2, std::size_t... _Indexes2>
                                         ^~~~~~
/usr/include/c++/8/bits/stl_pair.h:437:27: error: ‘_Indexes1’ was not declared in this scope
              _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
                           ^~~~~~~~~
/usr/include/c++/8/bits/stl_pair.h:437:36: error: expected parameter pack before ‘...’
              _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
                                    ^~~
/usr/include/c++/8/bits/stl_pair.h:437:39: error: template argument 1 is invalid
              _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
                                       ^
/usr/include/c++/8/bits/stl_pair.h:437:55: error: ‘_Indexes2’ was not declared in this scope
              _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
                                                       ^~~~~~~~~
/usr/include/c++/8/bits/stl_pair.h:437:64: error: expected parameter pack before ‘...’
              _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
                                                                ^~~
/usr/include/c++/8/bits/stl_pair.h:437:67: error: template argument 1 is invalid
              _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>);
                                                                   ^
In file included from /usr/include/c++/8/ios:40,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/bits/char_traits.h:108:66: error: ‘std::size_t’ has not been declared
       compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
                                                                  ^~~~~~
/usr/include/c++/8/bits/char_traits.h:110:40: error: ‘size_t’ in namespace ‘std’ does not name a type
       static _GLIBCXX14_CONSTEXPR std::size_t
                                        ^~~~~~
/usr/include/c++/8/bits/char_traits.h:114:39: error: ‘std::size_t’ has not been declared
       find(const char_type* __s, std::size_t __n, const char_type& __a);
                                       ^~~~~~
/usr/include/c++/8/bits/char_traits.h:117:57: error: ‘std::size_t’ has not been declared
       move(char_type* __s1, const char_type* __s2, std::size_t __n);
                                                         ^~~~~~
/usr/include/c++/8/bits/char_traits.h:120:57: error: ‘std::size_t’ has not been declared
       copy(char_type* __s1, const char_type* __s2, std::size_t __n);
                                                         ^~~~~~
/usr/include/c++/8/bits/char_traits.h:123:35: error: ‘std::size_t’ has not been declared
       assign(char_type* __s, std::size_t __n, char_type __a);
                                   ^~~~~~
/usr/include/c++/8/bits/char_traits.h:149:64: error: ‘std::size_t’ has not been declared
     compare(const char_type* __s1, const char_type* __s2, std::size_t __n)
                                                                ^~~~~~
/usr/include/c++/8/bits/char_traits.h: In static member function ‘static constexpr int __gnu_cxx::char_traits<_CharT>::compare(const char_type*, const char_type*, int)’:
/usr/include/c++/8/bits/char_traits.h:151:17: error: ‘size_t’ is not a member of ‘std’
       for (std::size_t __i = 0; __i < __n; ++__i)
                 ^~~~~~
/usr/include/c++/8/bits/char_traits.h:151:17: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/ios:40,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/bits/char_traits.h:151:33: error: ‘__i’ was not declared in this scope
       for (std::size_t __i = 0; __i < __n; ++__i)
                                 ^~~
/usr/include/c++/8/bits/char_traits.h:151:33: note: suggested alternative: ‘__n’
       for (std::size_t __i = 0; __i < __n; ++__i)
                                 ^~~
                                 __n
/usr/include/c++/8/bits/char_traits.h: At global scope:
/usr/include/c++/8/bits/char_traits.h:160:31: error: ‘size_t’ in namespace ‘std’ does not name a type
     _GLIBCXX14_CONSTEXPR std::size_t
                               ^~~~~~
/usr/include/c++/8/bits/char_traits.h:173:37: error: ‘std::size_t’ has not been declared
     find(const char_type* __s, std::size_t __n, const char_type& __a)
                                     ^~~~~~
/usr/include/c++/8/bits/char_traits.h: In static member function ‘static constexpr const char_type* __gnu_cxx::char_traits<_CharT>::find(const char_type*, int, const char_type&)’:
/usr/include/c++/8/bits/char_traits.h:175:17: error: ‘size_t’ is not a member of ‘std’
       for (std::size_t __i = 0; __i < __n; ++__i)
                 ^~~~~~
/usr/include/c++/8/bits/char_traits.h:175:17: note: suggested alternative:
In file included from /usr/include/stdlib.h:31,
                 from /usr/include/c++/8/bits/std_abs.h:38,
                 from /usr/include/c++/8/cmath:47,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:41,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h:216:23: note:   ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/c++/8/ios:40,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/bits/char_traits.h:175:33: error: ‘__i’ was not declared in this scope
       for (std::size_t __i = 0; __i < __n; ++__i)
                                 ^~~
/usr/include/c++/8/bits/char_traits.h:175:33: note: suggested alternative: ‘__s’
       for (std::size_t __i = 0; __i < __n; ++__i)
                                 ^~~
                                 __s
/usr/include/c++/8/bits/char_traits.h: At global scope:
/usr/include/c++/8/bits/char_traits.h:184:55: error: ‘std::size_t’ has not been declared
     move(char_type* __s1, const char_type* __s2, std::size_t __n)
                                                       ^~~~~~
/usr/include/c++/8/bits/char_traits.h:195:55: error: ‘std::size_t’ has not been declared
     copy(char_type* __s1, const char_type* __s2, std::size_t __n)
                                                       ^~~~~~
/usr/include/c++/8/bits/char_traits.h:205:33: error: ‘std::size_t’ has not been declared
     assign(char_type* __s, std::size_t __n, char_type __a)
                                 ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/8/bits/c++allocator.h:33,
                 from /usr/include/c++/8/bits/allocator.h:46,
                 from /usr/include/c++/8/string:41,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/ext/new_allocator.h:44:14: error: ‘std::size_t’ has not been declared
   using std::size_t;
              ^~~~~~
/usr/include/c++/8/ext/new_allocator.h:45:14: error: ‘std::ptrdiff_t’ has not been declared
   using std::ptrdiff_t;
              ^~~~~~~~~
In file included from /usr/include/c++/8/ext/alloc_traits.h:36,
                 from /usr/include/c++/8/bits/basic_string.h:40,
                 from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/bits/alloc_traits.h:404:36: error: ‘ptrdiff_t’ in namespace ‘std’ does not name a type
       using difference_type = std::ptrdiff_t;
                                    ^~~~~~~~~
/usr/include/c++/8/bits/alloc_traits.h:407:30: error: ‘size_t’ in namespace ‘std’ does not name a type
       using size_type = std::size_t;
                              ^~~~~~
/usr/include/c++/8/bits/alloc_traits.h:407:25: note: suggested alternative: ‘time_put’
       using size_type = std::size_t;
                         ^~~
                         time_put
/usr/include/c++/8/bits/alloc_traits.h:435:37: error: ‘size_type’ has not been declared
       allocate(allocator_type& __a, size_type __n)
                                     ^~~~~~~~~
/usr/include/c++/8/bits/alloc_traits.h:449:37: error: ‘size_type’ has not been declared
       allocate(allocator_type& __a, size_type __n, const_void_pointer __hint)
                                     ^~~~~~~~~
/usr/include/c++/8/bits/alloc_traits.h:461:52: error: ‘size_type’ has not been declared
       deallocate(allocator_type& __a, pointer __p, size_type __n)
                                                    ^~~~~~~~~
/usr/include/c++/8/bits/alloc_traits.h:494:14: error: ‘size_type’ does not name a type; did you mean ‘true_type’?
       static size_type
              ^~~~~~~~~
              true_type
In file included from /usr/include/c++/8/bits/basic_string.h:6400,
                 from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/ext/string_conversions.h:55:51: error: ‘std::size_t’ has not been declared
     const char* __name, const _CharT* __str, std::size_t* __idx,
                                                   ^~~~~~
/usr/include/c++/8/ext/string_conversions.h:99:48: error: ‘std::size_t’ has not been declared
     __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
                                                ^~~~~~
/usr/include/c++/8/ext/string_conversions.h:100:31: error: ‘std::size_t’ has not been declared
      __builtin_va_list), std::size_t __n,
                               ^~~~~~
In file included from /usr/include/c++/8/bits/basic_string.h:40,
                 from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/ext/alloc_traits.h: In instantiation of ‘struct __gnu_cxx::__alloc_traits<std::allocator<char>, char>’:
/usr/include/c++/8/bits/basic_string.h:80:24:   required from ‘class std::__cxx11::basic_string<char>’
/usr/include/c++/8/bits/basic_string.h:6411:68:   required from here
/usr/include/c++/8/ext/alloc_traits.h:61:53: error: no type named ‘size_type’ in ‘struct std::allocator_traits<std::allocator<char> >’
     typedef typename _Base_type::size_type          size_type;
                                                     ^~~~~~~~~
/usr/include/c++/8/ext/alloc_traits.h:62:53: error: no type named ‘difference_type’ in ‘struct std::allocator_traits<std::allocator<char> >’
     typedef typename _Base_type::difference_type    difference_type;
                                                     ^~~~~~~~~~~~~~~
/usr/include/c++/8/ext/alloc_traits.h:70:23: error: no members matching ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::_Base_type {aka std::allocator_traits<std::allocator<char> >}::max_size’ in ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::_Base_type’ {aka ‘struct std::allocator_traits<std::allocator<char> >’}
     using _Base_type::max_size;
                       ^~~~~~~~
In file included from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/bits/basic_string.h: In function ‘int std::__cxx11::stoi(const string&, size_t*, int)’:
/usr/include/c++/8/bits/basic_string.h:6412:19: error: no matching function for call to ‘__stoa<long int, int>(long int (*)(const char*, char**, int) throw (), const char [5], const char*, size_t*&, int&)’
      __idx, __base); }
                   ^
In file included from /usr/include/c++/8/bits/basic_string.h:6400,
                 from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/ext/string_conversions.h:54:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^~~~~~
/usr/include/c++/8/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/bits/basic_string.h:6412:6: note:   cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
      __idx, __base); }
      ^~~~~
/usr/include/c++/8/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const string&, size_t*, int)’:
/usr/include/c++/8/bits/basic_string.h:6417:22: error: no matching function for call to ‘__stoa(long int (*)(const char*, char**, int) throw (), const char [5], const char*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/include/c++/8/bits/basic_string.h:6400,
                 from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/ext/string_conversions.h:54:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^~~~~~
/usr/include/c++/8/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/bits/basic_string.h:6417:9: note:   cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
         __idx, __base); }
         ^~~~~
/usr/include/c++/8/bits/basic_string.h: In function ‘long unsigned int std::__cxx11::stoul(const string&, size_t*, int)’:
/usr/include/c++/8/bits/basic_string.h:6422:22: error: no matching function for call to ‘__stoa(long unsigned int (*)(const char*, char**, int) throw (), const char [6], const char*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/include/c++/8/bits/basic_string.h:6400,
                 from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/ext/string_conversions.h:54:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^~~~~~
/usr/include/c++/8/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/bits/basic_string.h:6422:9: note:   cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
         __idx, __base); }
         ^~~~~
/usr/include/c++/8/bits/basic_string.h: In function ‘long long int std::__cxx11::stoll(const string&, size_t*, int)’:
/usr/include/c++/8/bits/basic_string.h:6427:22: error: no matching function for call to ‘__stoa(long long int (*)(const char*, char**, int) throw (), const char [6], const char*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/include/c++/8/bits/basic_string.h:6400,
                 from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/ext/string_conversions.h:54:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^~~~~~
/usr/include/c++/8/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/bits/basic_string.h:6427:9: note:   cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
         __idx, __base); }
         ^~~~~
/usr/include/c++/8/bits/basic_string.h: In function ‘long long unsigned int std::__cxx11::stoull(const string&, size_t*, int)’:
/usr/include/c++/8/bits/basic_string.h:6432:22: error: no matching function for call to ‘__stoa(long long unsigned int (*)(const char*, char**, int) throw (), const char [7], const char*, size_t*&, int&)’
         __idx, __base); }
                      ^
In file included from /usr/include/c++/8/bits/basic_string.h:6400,
                 from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/ext/string_conversions.h:54:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^~~~~~
/usr/include/c++/8/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/bits/basic_string.h:6432:9: note:   cannot convert ‘__idx’ (type ‘size_t*’ {aka ‘long unsigned int*’}) to type ‘int*’
         __idx, __base); }
         ^~~~~
/usr/include/c++/8/bits/basic_string.h: In function ‘float std::__cxx11::stof(const string&, size_t*)’:
/usr/include/c++/8/bits/basic_string.h:6437:72: error: no matching function for call to ‘__stoa(float (*)(const char*, char**) throw (), const char [5], const char*, size_t*&)’
   { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
                                                                        ^
In file included from /usr/include/c++/8/bits/basic_string.h:6400,
                 from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /usr/include/c++/8/complex:45,
                 from /usr/include/c++/8/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/8/bits/stdc++.h:52,
                 from prog.cpp:2:
/usr/include/c++/8/ext/string_conversions.h:54:5: note: candidate: ‘template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)’
     __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...),
     ^~~~~~
/usr/include/c++/8/ext/string_conversions.h:54:5: note:   template argument deduction/substitution failed:
In file included f
stdout
Standard output is empty