/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=0;i<=11;i++)cin>>a[i];{
     ^~~
/in/foo.cc:5:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(int i=0;i<=11;i++)cin>>a[i];{
                                     ^
/in/foo.cc:4:15: warning: unused variable 'i' [-Wunused-variable]
     int a[12],i,m=0,n=0;
               ^
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 2ms 324.0 KiB
#3 Accepted 2ms 332.0 KiB
#4 Accepted 2ms 412.0 KiB
#5 Accepted 2ms 376.0 KiB
#6 Accepted 2ms 344.0 KiB
#7 Accepted 2ms 340.0 KiB
#8 Accepted 2ms 344.0 KiB
#9 Accepted 2ms 328.0 KiB
#10 Accepted 2ms 344.0 KiB

信息

递交者
类型
递交
题目
P1096 津津的储蓄计划
语言
C++
递交时间
2024-06-04 20:02:09
评测时间
2024-06-04 20:02:09
评测机
分数
100
总耗时
22ms
峰值内存
412.0 KiB