Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:10: warning: unused variable 'j' [-Wunused-variable]
  int n,i,j,k,flag,index;
          ^
foo.cc:15:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%s%s%d",&rec[i].id,rec[i].name,rec[i].phone,&rec[i].secs);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1149 结构体-学生信息处理1
语言
C++
递交时间
2021-11-07 16:40:47
评测时间
2021-11-07 16:40:47
评测机
分数
0
总耗时
1ms
峰值内存
328.0 KiB