记录详情

Accepted

foo.cc: In function ‘int main()’:
foo.cc:15:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   15 |         for(int i=0;i<a.size();i++) cout<<a[i]<<(i<a.size()-1?" ":"");
      |                     ~^~~~~~~~~
foo.cc:15:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   15 |         for(int i=0;i<a.size();i++) cout<<a[i]<<(i<a.size()-1?" ":"");
      |                                                  ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 3ms 768.0 KiB
#3 Accepted 3ms 532.0 KiB
#4 Accepted 3ms 536.0 KiB
#5 Accepted 3ms 324.0 KiB

信息

递交者
类型
递交
比赛
2024程序设计与竞赛作业赛第一场(喜相逢)
语言
C++
递交时间
2024-09-26 23:28:49
评测时间
2024-09-26 23:28:49
评测机
分数
100
总耗时
15ms
峰值内存
768.0 KiB