Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:8:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(j%i==0||j%3==0&&j!=3||j%5==0&&j!=5||j%7==0&&j!=7){ ~~~~~~^~~~~~ /in/foo.cc:8:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(j%i==0||j%3==0&&j!=3||j%5==0&&j!=5||j%7==0&&j!=7){ ~~~~~~^~~~~~ /in/foo.cc:8:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(j%i==0||j%3==0&&j!=3||j%5==0&&j!=5||j%7==0&&j!=7){ ~~~~~~^~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1025 找出100以内的所有素数
- 语言
- C++
- 递交时间
- 2024-12-04 16:46:15
- 评测时间
- 2024-12-04 16:46:15
- 评测机
- 分数
- 100
- 总耗时
- 1ms
- 峰值内存
- 324.0 KiB