/ Vijos /

记录详情

Compile Error

foo.cc:1:2: error: stray '#' in program
    1 | |#include<cstdio>
      |  ^
foo.cc:1:1: error: expected unqualified-id before '|' token
    1 | |#include<cstdio>
      | ^
foo.cc: In function 'int main()':
foo.cc:38:5: error: 'scanf' was not declared in this scope
   38 |     scanf("%d%d%d",&n,&m,&t);
      |     ^~~~~
foo.cc:51:5: error: 'printf' was not declared in this scope
   51 |     printf("%d",ans);
      |     ^~~~~~
foo.cc:3:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
    2 | #include<cstring>
  +++ |+#include <cstdio>
    3 | #define ll long long
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1212 Way Selection
语言
C++
递交时间
2022-05-26 09:44:02
评测时间
2022-05-26 09:44:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes