QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#516555#5610. It's About TimeZhangYiDeCompile Error//C++11998b2024-08-12 18:37:222024-08-12 18:37:23

詳細信息

answer.code: In function ‘int main()’:
answer.code:7:5: error: ‘uint32_t’ was not declared in this scope
    7 |     uint32_t
      |     ^~~~~~~~
answer.code:3:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    2 | #include <cmath>
  +++ |+#include <cstdint>
    3 | 
answer.code:18:12: error: ‘r’ was not declared in this scope
   18 |     cin >> r >> s >> h;
      |            ^
answer.code:18:17: error: ‘s’ was not declared in this scope
   18 |     cin >> r >> s >> h;
      |                 ^
answer.code:18:22: error: ‘h’ was not declared in this scope
   18 |     cin >> r >> s >> h;
      |                      ^
answer.code:34:21: error: ‘best’ was not declared in this scope
   34 |                     best[0] = n1;
      |                     ^~~~
answer.code:40:13: error: ‘best’ was not declared in this scope
   40 |     cout << best[0] << ' ' << best[1] << ' ' << best[2] << endl;
      |             ^~~~