提交时间:2025-07-11 12:59:19

运行 ID: 330945

#include <stdio.h> int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); int total = a * 0.2 + b * 0.3 + c * 0.5 + 0.5; // 四舍五入 printf("%d\n", total); return 0; }