Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
97846 吴梓玄 02长方形的面积 C Compile Error 0 MS 0 KB 116 2024-11-16 16:56:24

Tests(0/0):


Code:

#include <stdio.h> int main() { int a, b, c; scanf("%d%d",&a,&b); c=a*b; printf("%d",c) return 0; }


Run Info:

Main.c: In function 'main':
Main.c:8:2: error: expected ';' before 'return'
  return 0; 
  ^
Main.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&a,&b);
  ^