Accepted
foo.cc: In function ‘int main()’: foo.cc:14:22: warning: iteration 1000000 invokes undefined behavior [-Waggressive-loop-optimizations] 14 | a[i] = ( a[i - 1] * i ) % 998244353; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ foo.cc:13:26: note: within this loop 13 | for(int i = 1; i <= 1000001; i++) | ~~^~~~~~~~~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1563 Problem 1A. Factorial
- 语言
- C++
- 递交时间
- 2024-04-07 21:39:25
- 评测时间
- 2024-04-07 21:39:25
- 评测机
- 分数
- 10
- 总耗时
- 16ms
- 峰值内存
- 8.066 MiB