/ OPS /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    9 |         for (int i = 0; i < n; i++)
      |         ^~~
/in/foo.cc:11:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   11 |             for (int i = 0; i < n; i++) {
      |             ^~~
/in/foo.cc:19:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   19 |           if(w=n-1)
      |              ~^~~~
/in/foo.cc:6:13: warning: variable 'flag' set but not used [-Wunused-but-set-variable]
    6 |         int flag = 0;
      |             ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 356.0 KiB

信息

递交者
类型
递交
题目
P1004 Jolly Jumpers
语言
C++
递交时间
2025-02-05 16:56:40
评测时间
2025-02-05 16:56:40
评测机
分数
0
总耗时
3ms
峰值内存
356.0 KiB