Borderou de evaluare (job #1394900)
Utilizator | Data | 20 martie 2015 20:15:40 | |
---|---|---|---|
Problema | Prefix2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include bitsstdc++.h
^
user.cpp:8:1: error: ‘mapchar’ does not name a type
mapchar, int to[maxn];
^
user.cpp: In function ‘void add_letter(char)’:
user.cpp:16:23: error: ‘to’ was not declared in this scope
for(; p != -1 && !to[p][c]; p = link[p]) to[p][c] = last;
^
user.cpp:18:13: error: ‘to’ was not declared in this scope
int q = to[p][c];
^
user.cpp: At global scope:
user.cpp:32:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:34:13: error: ‘prefix2’ was not declared in this scope
freopen(prefix2.in, r, stdin);
^
user.cpp:34:25: error: ‘r’ was not declared in this scope
freopen(prefix2.in, r, stdin);
^
user.cpp:34:28: error: ‘stdin’ was not declared in this scope
freopen(prefix2.in, r, stdin);
^
user.cpp:34:33: error: ‘freopen’ was not declared in this scope
freopen(prefix2.in, r, stdin);
^
user.cpp:35:26: error: ‘w’ was not declared in this scope
freopen(prefix2.out, w, stdout);
^
user.cpp:35:29: error: ‘stdout’ was not declared in this scope
freopen(prefix2.out, w, stdout);
^
user.cpp:37:5: error: ‘string’ was not declared in this scope
string s;
^
user.cpp:37:12: error: expected ‘;’ before ‘s’
string s;
^
user.cpp:38:5: error: ‘cin’ was not declared in this scope
cin s;
^
user.cpp:38:10: error: expected ‘;’ before ‘s’
cin s;
^
user.cpp:39:5: error: ‘int64_t’ was not declared in this scope
int64_t ans = 0;
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !