/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:34:9: error: expected '}' at end of input
   34 |         {
      |         ^
foo.cc:34:9: error: expected '}' at end of input
foo.cc:18:5: note: to match this '{'
   18 |     {
      |     ^
foo.cc:16:24: warning: unused variable 'minn' [-Wunused-variable]
   16 |     int u, v, w, m, q, minn;
      |                        ^~~~
foo.cc:34:9: error: expected '}' at end of input
   34 |         {
      |         ^
foo.cc:15:1: note: to match this '{'
   15 | {
      | ^
foo.cc:25:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 |             scanf("%d", &s[i]);
      |             ~~~~~^~~~~~~~~~~~~
foo.cc:28:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   28 |             scanf("%d%d%d", &u, &v, &w);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:32:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   32 |         scanf("%d", &q);
      |         ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1746 小D的旅行
语言
C++
递交时间
2022-03-19 07:12:34
评测时间
2022-03-19 07:12:34
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes