QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#478582 | #619. 多项式求逆 | jxy2012# | Compile Error | / | / | C++23 | 2.8kb | 2024-07-15 06:45:50 | 2024-07-15 06:45:50 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void dnt(int*, int)’: answer.code:53:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 53 | rep(i, 1, nown - 1) if (i < r[i]) swap(a[i], a[r[i]]); | ^ answer.code:15:40: note: in definition of macro ‘rep’ 15 | #define rep(i, x, y) for (register int i = (x); i <= (y); ++i) | ^ answer.code:59:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 59 | rep(k, 0, i - 1) { | ^ answer.code:15:40: note: in definition of macro ‘rep’ 15 | #define rep(i, x, y) for (register int i = (x); i <= (y); ++i) | ^ answer.code:68:13: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 68 | rep(i, 0, nown - 1) a[i] = (LL)a[i] * (LL)inv % mod; | ^ answer.code:15:40: note: in definition of macro ‘rep’ 15 | #define rep(i, x, y) for (register int i = (x); i <= (y); ++i) | ^ answer.code: In function ‘int main()’: answer.code:73:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 73 | rep(i, 0, n - 1) f[i] = read() % mod; | ^ answer.code:15:40: note: in definition of macro ‘rep’ 15 | #define rep(i, x, y) for (register int i = (x); i <= (y); ++i) | ^ answer.code:77:13: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 77 | rep(i, 0, nown - 1) tmp[i] = f[i]; | ^ answer.code:15:40: note: in definition of macro ‘rep’ 15 | #define rep(i, x, y) for (register int i = (x); i <= (y); ++i) | ^ answer.code:79:13: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 79 | rep(i, 1, nown - 1) r[i] = (r[i >> 1] >> 1) | ((i & 1) << (nowlen - 1)); | ^ answer.code:15:40: note: in definition of macro ‘rep’ 15 | #define rep(i, x, y) for (register int i = (x); i <= (y); ++i) | ^ answer.code:80:13: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 80 | rep(i, (tmpn << 1), nown - 1) tmp[i] = 0; | ^ answer.code:15:40: note: in definition of macro ‘rep’ 15 | #define rep(i, x, y) for (register int i = (x); i <= (y); ++i) | ^ answer.code:82:13: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 82 | rep(i, 0, nown - 1) g[len + 1][i] = ((2ll - (LL)tmp[i] * (LL)g[len][i]) % mod + mod) * (LL)g[len][i] % mod; | ^ answer.code:15:40: note: in definition of macro ‘rep’ 15 | #define rep(i, x, y) for (register int i = (x); i <= (y); ++i) | ^ answer.code:84:13: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 84 | rep(i, (tmpn << 1), nown - 1) g[len + 1][i] = 0; | ^ answer.code:15:40: note: in definition of macro ‘rep’ 15 | #define rep(i, x, y) for (register int i = (x); i <= (y); ++i) | ^ answer.code:86:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 86 | rep(i, 0, n - 1) printf("%d ", g[len][i]); | ^ answer.code:15:40: note: in definition of macro ‘rep’ 15 | #define rep(i, x, y) for (register int i = (x); i <= (y); ++i) | ^ /tmp/cc48rITw.o: in function `main': answer.code:(.text.startup+0x2b): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in /tmp/cc48rITw.o answer.code:(.text.startup+0x7d): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in /tmp/cc48rITw.o answer.code:(.text.startup+0x185): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in /tmp/cc48rITw.o collect2: error: ld returned 1 exit status