Wrong Answer
foo.cc: In function ‘int main()’: foo.cc:10:23: warning: iteration 999998 invokes undefined behavior [-Waggressive-loop-optimizations] 10 | num[i]=((num[i-1]%p)*(i%p))%p;; | ^ foo.cc:9:23: note: within this loop 9 | for (int i=2;i<=1000000;i++) | ~^~~~~~~~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1563 Problem 1A. Factorial
- 语言
- C++
- 递交时间
- 2024-04-11 11:37:06
- 评测时间
- 2024-04-11 11:37:06
- 评测机
- 分数
- 0
- 总耗时
- 15ms
- 峰值内存
- 8.066 MiB