/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void do1(int, std::map<int, int>&)':
/in/foo.cc:20:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0;i<v.size()&&v[i]<=x;++i)
             ~^~~~~~~~~
/in/foo.cc:26:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
             else
             ^~~~
/in/foo.cc:28:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
                 return ;
                 ^~~~~~
/in/foo.cc:35:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
             else
             ^~~~
/in/foo.cc:37:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
                 x/=v[i];
                 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:80:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(it=q.begin();it!=q.end();++it)
     ^~~
/in/foo.cc:85:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         cout<<t<<endl;
         ^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 868.0 KiB
#2 Accepted 2ms 844.0 KiB
#3 Accepted 2ms 860.0 KiB
#4 Accepted 3ms 880.0 KiB
#5 Accepted 16ms 1.16 MiB

信息

递交者
类型
递交
题目
P1137 组合数
语言
C++
递交时间
2024-08-15 16:22:08
评测时间
2024-08-15 16:22:08
评测机
分数
100
总耗时
27ms
峰值内存
1.16 MiB