Compile Error
/in/foo.c: In function 'main':
/in/foo.c:5:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
  scanf("%d",n);
          ^
/in/foo.c:7:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(i=1;i<=n;i++)
  ^~
/in/foo.c:7:8: error: expected ')' before ';' token
  if(i=1;i<=n;i++)
        ^
/in/foo.c:4:10: warning: variable 's' set but not used [-Wunused-but-set-variable]
  int n,i,s;
          ^
  信息
- 递交者
 - 类型
 - 递交
 - 比赛
 - 2024级15点半
 - 语言
 - C
 - 递交时间
 - 2024-12-24 15:47:32
 - 评测时间
 - 2024-12-24 15:47:32
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes