/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In constructor 'Stu::Stu(std::__cxx11::string, int, int, std::__cxx11::string, std::__cxx11::string, int)':
/in/foo.cc:7:9: warning: 'Stu::d' will be initialized after [-Wreorder]
  string d, e, f;
         ^
/in/foo.cc:5:6: warning:   'int Stu::a' [-Wreorder]
  int a, b, c,total;
      ^
/in/foo.cc:9:2: warning:   when initialized here [-Wreorder]
  Stu(string name, int sc, int jsc, string ic, string iw, int num) :d(name), a(sc), b(jsc), e(ic), f(iw), c(num) {}
  ^~~
/in/foo.cc:7:15: warning: 'Stu::f' will be initialized after [-Wreorder]
  string d, e, f;
               ^
/in/foo.cc:5:12: warning:   'int Stu::c' [-Wreorder]
  int a, b, c,total;
            ^
/in/foo.cc:9:2: warning:   when initialized here [-Wreorder]
  Stu(string name, int sc, int jsc, string ic, string iw, int num) :d(name), a(sc), b(jsc), e(ic), f(iw), c(num) {}
  ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 336.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Wrong Answer 1ms 332.0 KiB
#4 Wrong Answer 1ms 324.0 KiB
#5 Wrong Answer 1ms 376.0 KiB
#6 Wrong Answer 1ms 376.0 KiB
#7 Wrong Answer 1ms 332.0 KiB
#8 Wrong Answer 1ms 376.0 KiB
#9 Wrong Answer 1ms 376.0 KiB
#10 Wrong Answer 1ms 324.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2024-11-10 13:45:15
评测时间
2024-11-10 13:45:15
评测机
分数
0
总耗时
18ms
峰值内存
376.0 KiB