Borderou de evaluare (job #1735459)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 29 iulie 2016 23:08:55
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable : 4996) ^ user.cpp: In constructor ‘LinkCutTree::LinkCutTree()’: user.cpp:17:35: error: ‘memset’ was not declared in this scope memset(left, NIL, 4 * MaxN); ^ user.cpp: In function ‘int main()’: user.cpp:188:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lca.in", "rb", stdin); ^ user.cpp:189:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lca.out", "wb", stdout); ^ user.cpp:192:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:195:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &to); ^ user.cpp:201:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &u, &v); ^

Ceva nu functioneaza?