记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:22:9: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[15]' [-Wformat=]
 scanf("%s",&stu[i].name);
         ^
/in/foo.c:28:9: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[15]' [-Wformat=]
 scanf("%s",&ren);
         ^
/in/foo.c:42:1: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration]
 system("pause");
 ^~~~~~
/in/foo.c: In function 'cmp':
/in/foo.c:17:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted sh: 1: pause: not found 1ms 212.0 KiB

信息

递交者
类型
自测
题目
P1064 贪婪的送礼者
语言
C
递交时间
2020-12-01 13:56:25
评测时间
2020-12-01 13:56:25
评测机
分数
10
总耗时
1ms
峰值内存
212.0 KiB