Submission #669804

# Submission time Handle Problem Language Result Execution time Memory
669804 2022-12-07T10:10:04 Z someone Toy Train (IOI17_train) C++14
Compilation error
0 ms 0 KB
#define int short
#include <bits/stdc++.h>
using namespace std;
 
const int N = 1e4 + 42, INF = 1e9;
 
int n, m, nb[N], nbS[N];
vector<int> adj[N], ans;
bool isA[N], isR[N], sent[N], mod[N];
 
void dfs(int i) {
    if(sent[i])
        return;
    sent[i] = true;
    for(int j : adj[i]) {
        nbS[j]++;
        if(isA[j] || nbS[j] == nb[j])
            dfs(j);
    }
}
 
vector<int> who_wins(vector<int> a, vector<int> r, vector<int> u, vector<int> v) {
    n = (int)a.size();
    m = (int)u.size();
    for(int i = 0; i < n; i++)
        isA[i] = (a[i] == 1),
        isR[i] = (r[i] == 1);
    for(int i = 0; i < m; i++) {
        nb[u[i]]++;
        adj[v[i]].push_back(u[i]);
    }
    
    deque<int> id;
    for(int i = 0; i < n; i++)
        if(r[i])
            id.push_back(i);
    int sz = (int)id.size();
    while(true) {
        for(int i : id)
            dfs(i);
        for(int i = 0; i < sz; i++) {
            if((isA[id[0]] && nbS[id[0]] > 0) || nbS[id[0]] == nb[id[0]])
                id.push_back(id[0]);
            id.pop_front();
        }
        for(int i = 0; i < n; i++) {
            nbS[i] = 0;
            sent[i] = false;
        }
        if(sz == (int)id.size())
            break;
        sz = id.size();
    }
    for(int i : id)
        dfs(i);
    for(int i = 0; i < n; i++)
        ans.push_back(sent[i]);
    return ans;
}

Compilation message

/usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h:260:11: error: 'long' and 'short' specified together
  260 |   typedef __SIZE_TYPE__  size_t;
      |           ^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h:261:11: error: 'long' and 'short' specified together
  261 |   typedef __PTRDIFF_TYPE__ ptrdiff_t;
      |           ^~~~~~~~~~~~~~~~
train.cpp:1:13: error: duplicate 'short'
    1 | #define int short
      |             ^~~~~
In file included from /usr/include/ctype.h:26,
                 from /usr/include/c++/10/cctype:42,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:35,
                 from train.cpp:2:
/usr/include/x86_64-linux-gnu/bits/types.h:34:18: error: 'long' and 'short' specified together
   34 | typedef unsigned long int __u_long;
      |                  ^~~~
train.cpp:1:13: error: duplicate 'short'
    1 | #define int short
      |             ^~~~~
train.cpp:1:13: error: duplicate 'short'
    1 | #define int short
      |             ^~~~~
In file included from /usr/include/ctype.h:26,
                 from /usr/include/c++/10/cctype:42,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:35,
                 from train.cpp:2:
/usr/include/x86_64-linux-gnu/bits/types.h:44:16: error: 'long' and 'short' specified together
   44 | typedef signed long int __int64_t;
      |                ^~~~
/usr/include/x86_64-linux-gnu/bits/types.h:45:18: error: 'long' and 'short' specified together
   45 | typedef unsigned long int __uint64_t;
      |                  ^~~~
/usr/include/x86_64-linux-gnu/bits/types.h:63:9: error: 'long' and 'short' specified together
   63 | typedef long int __quad_t;
      |         ^~~~
/usr/include/x86_64-linux-gnu/bits/types.h:64:18: error: 'long' and 'short' specified together
   64 | typedef unsigned long int __u_quad_t;
      |                  ^~~~
/usr/include/x86_64-linux-gnu/bits/types.h:72:9: error: 'long' and 'short' specified together
   72 | typedef long int __intmax_t;
      |         ^~~~
/usr/include/x86_64-linux-gnu/bits/types.h:73:18: error: 'long' and 'short' specified together
   73 | typedef unsigned long int __uintmax_t;
      |                  ^~~~
/usr/include/x86_64-linux-gnu/bits/types.h:145:12: error: 'long' and 'short' specified together
  145 | __STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers.  */
      |            ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:148:12: error: 'long' and 'short' specified together
  148 | __STD_TYPE __INO_T_TYPE __ino_t; /* Type of file serial numbers.  */
      |            ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:149:12: error: 'long' and 'short' specified together
  149 | __STD_TYPE __INO64_T_TYPE __ino64_t; /* Type of file serial numbers (LFS).*/
      |            ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:151:12: error: 'long' and 'short' specified together
  151 | __STD_TYPE __NLINK_T_TYPE __nlink_t; /* Type of file link counts.  */
      |            ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:152:12: error: 'long' and 'short' specified together
  152 | __STD_TYPE __OFF_T_TYPE __off_t; /* Type of file sizes and offsets.  */
      |            ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:153:12: error: 'long' and 'short' specified together
  153 | __STD_TYPE __OFF64_T_TYPE __off64_t; /* Type of file sizes and offsets (LFS).  */
      |            ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:156:12: error: 'long' and 'short' specified together
  156 | __STD_TYPE __CLOCK_T_TYPE __clock_t; /* Type of CPU usage counts.  */
      |            ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:157:12: error: 'long' and 'short' specified together
  157 | __STD_TYPE __RLIM_T_TYPE __rlim_t; /* Type for resource measurement.  */
      |            ^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:158:12: error: 'long' and 'short' specified together
  158 | __STD_TYPE __RLIM64_T_TYPE __rlim64_t; /* Type for resource measurement (LFS).  */
      |            ^~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:160:12: error: 'long' and 'short' specified together
  160 | __STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch.  */
      |            ^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:162:12: error: 'long' and 'short' specified together
  162 | __STD_TYPE __SUSECONDS_T_TYPE __suseconds_t; /* Signed count of microseconds.  */
      |            ^~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:174:12: error: 'long' and 'short' specified together
  174 | __STD_TYPE __BLKSIZE_T_TYPE __blksize_t;
      |            ^~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:179:12: error: 'long' and 'short' specified together
  179 | __STD_TYPE __BLKCNT_T_TYPE __blkcnt_t;
      |            ^~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:180:12: error: 'long' and 'short' specified together
  180 | __STD_TYPE __BLKCNT64_T_TYPE __blkcnt64_t;
      |            ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:183:12: error: 'long' and 'short' specified together
  183 | __STD_TYPE __FSBLKCNT_T_TYPE __fsblkcnt_t;
      |            ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:184:12: error: 'long' and 'short' specified together
  184 | __STD_TYPE __FSBLKCNT64_T_TYPE __fsblkcnt64_t;
      |            ^~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:187:12: error: 'long' and 'short' specified together
  187 | __STD_TYPE __FSFILCNT_T_TYPE __fsfilcnt_t;
      |            ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:188:12: error: 'long' and 'short' specified together
  188 | __STD_TYPE __FSFILCNT64_T_TYPE __fsfilcnt64_t;
      |            ^~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:191:12: error: 'long' and 'short' specified together
  191 | __STD_TYPE __FSWORD_T_TYPE __fsword_t;
      |            ^~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:193:12: error: 'long' and 'short' specified together
  193 | __STD_TYPE __SSIZE_T_TYPE __ssize_t; /* Type of a byte count, or error.  */
      |            ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:196:12: error: 'long' and 'short' specified together
  196 | __STD_TYPE __SYSCALL_SLONG_TYPE __syscall_slong_t;
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:198:12: error: 'long' and 'short' specified together
  198 | __STD_TYPE __SYSCALL_ULONG_TYPE __syscall_ulong_t;
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:206:12: error: 'long' and 'short' specified together
  206 | __STD_TYPE __SWORD_TYPE __intptr_t;
      |            ^~~~~~~~~~~~
train.cpp:1:13: error: duplicate 'short'
    1 | #define int short
      |             ^~~~~
train.cpp:1:13: error: duplicate 'short'
    1 | #define int short
      |             ^~~~~
In file included from /usr/include/c++/10/cmath:42,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:41,
                 from train.cpp:2:
/usr/include/c++/10/bits/cpp_type_traits.h:214:12: error: redefinition of 'struct std::__is_integer<short int>'
  214 |     struct __is_integer<int>
      |            ^~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/cpp_type_traits.h:200:12: note: previous definition of 'struct std::__is_integer<short int>'
  200 |     struct __is_integer<short>
      |            ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/cpp_type_traits.h:221:12: error: redefinition of 'struct std::__is_integer<short unsigned int>'
  221 |     struct __is_integer<unsigned int>
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/cpp_type_traits.h:207:12: note: previous definition of 'struct std::__is_integer<short unsigned int>'
  207 |     struct __is_integer<unsigned short>
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/cmath:43,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:41,
                 from train.cpp:2:
/usr/include/c++/10/ext/type_traits.h:87:12: error: redefinition of 'struct __gnu_cxx::__add_unsigned<short int>'
   87 |     struct __add_unsigned<int>
      |            ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/type_traits.h:83:12: note: previous definition of 'struct __gnu_cxx::__add_unsigned<short int>'
   83 |     struct __add_unsigned<short>
      |            ^~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/type_traits.h:130:12: error: redefinition of 'struct __gnu_cxx::__remove_unsigned<short unsigned int>'
  130 |     struct __remove_unsigned<unsigned int>
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/ext/type_traits.h:126:12: note: previous definition of 'struct __gnu_cxx::__remove_unsigned<short unsigned int>'
  126 |     struct __remove_unsigned<unsigned short>
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/cmath:45,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:41,
                 from train.cpp:2:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:285:1: error: 'long' and 'short' specified together
  285 | __MATHDECL (long int, llogb,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:285:1: error: 'long' and 'short' specified together
  285 | __MATHDECL (long int, llogb,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:290:1: error: 'long' and 'short' specified together
  290 | __MATHCALL (scalbln,, (_Mdouble_ __x, long int __n));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:290:1: error: 'long' and 'short' specified together
  290 | __MATHCALL (scalbln,, (_Mdouble_ __x, long int __n));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:314:1: error: 'long' and 'short' specified together
  314 | __MATHDECL (long int,lrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:314:1: error: 'long' and 'short' specified together
  314 | __MATHDECL (long int,lrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:316:1: error: 'long' and 'short' specified together
  316 | __MATHDECL (long long int,llrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:316:1: error: 'long' and 'short' specified together
  316 | __MATHDECL (long long int,llrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: error: 'long' and 'short' specified together
  320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: error: 'long' and 'short' specified together
  320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:1: error: 'long' and 'short' specified together
  322 | __MATHDECL (long long int,llround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:1: error: 'long' and 'short' specified together
  322 | __MATHDECL (long long int,llround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:285:1: error: 'long' and 'short' specified together
  285 | __MATHDECL (long int, llogb,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:285:1: error: 'long' and 'short' specified together
  285 | __MATHDECL (long int, llogb,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:290:1: error: 'long' and 'short' specified together
  290 | __MATHCALL (scalbln,, (_Mdouble_ __x, long int __n));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:290:1: error: 'long' and 'short' specified together
  290 | __MATHCALL (scalbln,, (_Mdouble_ __x, long int __n));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:314:1: error: 'long' and 'short' specified together
  314 | __MATHDECL (long int,lrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:314:1: error: 'long' and 'short' specified together
  314 | __MATHDECL (long int,lrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:316:1: error: 'long' and 'short' specified together
  316 | __MATHDECL (long long int,llrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:316:1: error: 'long' and 'short' specified together
  316 | __MATHDECL (long long int,llrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: error: 'long' and 'short' specified together
  320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: error: 'long' and 'short' specified together
  320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:1: error: 'long' and 'short' specified together
  322 | __MATHDECL (long long int,llround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:1: error: 'long' and 'short' specified together
  322 | __MATHDECL (long long int,llround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:285:1: error: 'long' and 'short' specified together
  285 | __MATHDECL (long int, llogb,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:285:1: error: 'long' and 'short' specified together
  285 | __MATHDECL (long int, llogb,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:290:1: error: 'long' and 'short' specified together
  290 | __MATHCALL (scalbln,, (_Mdouble_ __x, long int __n));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:290:1: error: 'long' and 'short' specified together
  290 | __MATHCALL (scalbln,, (_Mdouble_ __x, long int __n));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:314:1: error: 'long' and 'short' specified together
  314 | __MATHDECL (long int,lrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:314:1: error: 'long' and 'short' specified together
  314 | __MATHDECL (long int,lrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:316:1: error: 'long' and 'short' specified together
  316 | __MATHDECL (long long int,llrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:316:1: error: 'long' and 'short' specified together
  316 | __MATHDECL (long long int,llrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: error: 'long' and 'short' specified together
  320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: error: 'long' and 'short' specified together
  320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:1: error: 'long' and 'short' specified together
  322 | __MATHDECL (long long int,llround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:1: error: 'long' and 'short' specified together
  322 | __MATHDECL (long long int,llround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:285:1: error: 'long' and 'short' specified together
  285 | __MATHDECL (long int, llogb,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:285:1: error: 'long' and 'short' specified together
  285 | __MATHDECL (long int, llogb,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:290:1: error: 'long' and 'short' specified together
  290 | __MATHCALL (scalbln,, (_Mdouble_ __x, long int __n));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:290:1: error: 'long' and 'short' specified together
  290 | __MATHCALL (scalbln,, (_Mdouble_ __x, long int __n));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:314:1: error: 'long' and 'short' specified together
  314 | __MATHDECL (long int,lrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:314:1: error: 'long' and 'short' specified together
  314 | __MATHDECL (long int,lrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:316:1: error: 'long' and 'short' specified together
  316 | __MATHDECL (long long int,llrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:316:1: error: 'long' and 'short' specified together
  316 | __MATHDECL (long long int,llrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: error: 'long' and 'short' specified together
  320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: error: 'long' and 'short' specified together
  320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:1: error: 'long' and 'short' specified together
  322 | __MATHDECL (long long int,llround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:1: error: 'long' and 'short' specified together
  322 | __MATHDECL (long long int,llround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:285:1: error: 'long' and 'short' specified together
  285 | __MATHDECL (long int, llogb,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:285:1: error: 'long' and 'short' specified together
  285 | __MATHDECL (long int, llogb,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:290:1: error: 'long' and 'short' specified together
  290 | __MATHCALL (scalbln,, (_Mdouble_ __x, long int __n));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:290:1: error: 'long' and 'short' specified together
  290 | __MATHCALL (scalbln,, (_Mdouble_ __x, long int __n));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:314:1: error: 'long' and 'short' specified together
  314 | __MATHDECL (long int,lrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:314:1: error: 'long' and 'short' specified together
  314 | __MATHDECL (long int,lrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:316:1: error: 'long' and 'short' specified together
  316 | __MATHDECL (long long int,llrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:316:1: error: 'long' and 'short' specified together
  316 | __MATHDECL (long long int,llrint,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: error: 'long' and 'short' specified together
  320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:320:1: error: 'long' and 'short' specified together
  320 | __MATHDECL (long int,lround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:1: error: 'long' and 'short' specified together
  322 | __MATHDECL (long long int,llround,, (_Mdouble_ __x));
      | ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:322:1: error: 'long' and 'short' specified together
  322 | __MATHDECL (lo