/ Vijos /

记录详情

Compile Error

foo.cpp:29:15: error: stray '#' in program
   ++r[nxt[i]];#include <cstdio>
               ^
foo.cpp: In function 'int main()':
foo.cpp:29:16: error: 'include' was not declared in this scope
   ++r[nxt[i]];#include <cstdio>
                ^
foo.cpp:29:25: error: 'cstdio' was not declared in this scope
   ++r[nxt[i]];#include <cstdio>
                         ^
foo.cpp:44:1: error: expected primary-expression before 'typedef'
 typedef long long LL;
 ^
foo.cpp:44:1: error: expected ';' before 'typedef'
foo.cpp:52:12: error: a function-definition is not allowed here before '{' token
 int main() {
            ^
foo.cpp:94:1: error: expected '}' at end of input
 }
 ^
foo.cpp:48:5: warning: unused variable 'r' [-Wunused-variable]
 int r[maxn], nxt[maxn];
     ^
foo.cpp:48:14: warning: unused variable 'nxt' [-Wunused-variable]
 int r[maxn], nxt[maxn];
              ^
foo.cpp:94:1: error: expected '}' at end of input
 }
 ^

信息

递交者
类型
递交
题目
P1979 信息传递
语言
C++
递交时间
2016-01-19 22:36:25
评测时间
2016-01-19 22:36:25
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes