0_0_13808335_4503.cpp:1:17: error: missing terminating > character
#include <cstdio
^
0_0_13808335_4503.cpp:2:18: error: missing terminating > character
#include <cstring
^
0_0_13808335_4503.cpp:3:18: error: missing terminating > character
#include <utility
^
0_0_13808335_4503.cpp:4:19: error: missing terminating > character
#include <iostream
^
0_0_13808335_4503.cpp:5:20: error: missing terminating > character
#include <algorithm
^
0_0_13808335_4503.cpp:28:18: error: stray '#' in program
scanf("%d", &testCnt);
^
0_0_13808335_4503.cpp:28:19: error: invalid digit "8" in octal constant
scanf("%d", &testCnt);
^
0_0_13808335_4503.cpp:30:24: error: stray '#' in program
scanf("%d%d", &n, &m);
^
0_0_13808335_4503.cpp:30:25: error: invalid digit "8" in octal constant
scanf("%d%d", &n, &m);
^
0_0_13808335_4503.cpp:30:33: error: stray '#' in program
scanf("%d%d", &n, &m);
^
0_0_13808335_4503.cpp:30:34: error: invalid digit "8" in octal constant
scanf("%d%d", &n, &m);
^
0_0_13808335_4503.cpp:14:38: error: template argument 2 is invalid
typedef pair<int, unsigned long long Hash;
^
0_0_13808335_4503.cpp:18:1: error: 'Hash' does not name a type
Hash hash[N][N], str[M];
^
0_0_13808335_4503.cpp: In function 'int cmp(int, int)':
0_0_13808335_4503.cpp:23:12: error: 'str' was not declared in this scope
return str[i] < str[j];
^
0_0_13808335_4503.cpp: In function 'int main()':
0_0_13808335_4503.cpp:28:30: error: expected ';' before ')' token
scanf("%d", &testCnt);
^
0_0_13808335_4503.cpp:30:39: error: expected ';' before ')' token
scanf("%d%d", &n, &m);
^
0_0_13808335_4503.cpp:51:29: error: missing template arguments before '[' token
hash[i][j] = make_pair(tmpHash1, tmpHash2);
^
0_0_13808335_4503.cpp:63:21: error: 'str' was not declared in this scope
str[++ strCnt] = hash[i][j];
^
0_0_13808335_4503.cpp:63:42: error: missing template arguments before '[' token
str[++ strCnt] = hash[i][j];
^
0_0_13808335_4503.cpp:65:17: error: 'str' was not declared in this scope
str[++ strCnt] = make_pair(- (j + 1), 0);
^
0_0_13808335_4503.cpp:73:50: error: 'str' was not declared in this scope
rnk[ord[i]] = rnk[ord[i - 1]] + (str[ord[i - 1]] != str[ord[i]]);
^
0_0_13808335_4503.cpp:118:28: error: expected ')' before numeric constant
if(rnk[i] 1){
^
0_0_13808335_4503.cpp:120:71: error: 'str' was not declared in this scope
while(i + lcp <= strCnt and j + lcp <= strCnt and str[i + lcp] == str[j + lcp]){
^
0_0_13808335_4503.cpp:126:25: error: expected ')' before numeric constant
if(lcp 0){
^
|