/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:45: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  for(int f=1;f<10;f++)if(f!=a&&f!=b&&f!=c&&f!=d&f!=e)
                                            ~^~~
/in/foo.cc:15:45: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  for(int g=1;g<10;g++)if(g!=a&&g!=b&&g!=c&&g!=d&g!=e&&g!=f)
                                            ~^~~
/in/foo.cc:16:45: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  for(int h=1;h<10;h++)if(h!=a&&h!=b&&h!=c&&h!=d&h!=e&&h!=f&&h!=g)
                                            ~^~~
/in/foo.cc:17:45: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
  for(int i=1;i<10;i++)if(i!=a&&i!=b&&i!=c&&i!=d&i!=e&&i!=f&&i!=g&&i!=h){
                                            ~^~~
# 状态 耗时 内存占用
#1 Accepted 43ms 424.0 KiB
#2 Accepted 42ms 420.0 KiB
#3 Accepted 42ms 416.0 KiB
#4 Accepted 42ms 416.0 KiB
#5 Accepted 42ms 420.0 KiB

信息

递交者
类型
递交
题目
P1507 三角形数
语言
C++
递交时间
2023-10-27 21:25:10
评测时间
2023-10-27 21:25:10
评测机
分数
100
总耗时
213ms
峰值内存
424.0 KiB