Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
115657 李钧皓 05买水果 C++ Wrong Answer 0 MS 264 KB 306 2025-04-02 14:48:05

Tests(0/1):


Code:

#include <iostream> #include <cstdio> using namespace std; int main(){ int a=5,b=8,c=12,a1,a2,b1,b2,c1,c2; float p=(a+b+c)/3; printf("%.3f\n",p); a1=39/5; a2=39%5; b1=39/8; b2=39%8; c1=39/12; c2=39%12; printf("%d %d\n",a1,a2); printf("%d %d\n",b1,b2); printf("%d %d\n",c1,c2); }


Run Info:

------Input------
0
------Answer-----
8.333 7 4 4 7 3 3
------Your output-----
8.000 7 4 4 7 3 3