Borderou de evaluare (job #1471413)

Utilizator akaprosAna Kapros akapros Data 13 august 2015 20:23:04
Problema Substr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int in_hash(int, int, int)’: user.cpp:29:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < V[x % mod].size(); ++ i) ^ user.cpp: In function ‘void read()’: user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("substr.in", "r", stdin); ^ user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &k); ^ user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp: In function ‘void write()’: user.cpp:78:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("substr.out", "w", stdout); ^ /tmp/cc8qL9KG.o: In function `read()': user.cpp:(.text+0x7c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms8080kbKilled by signal 11(SIGSEGV).0
28ms8080kbKilled by signal 11(SIGSEGV).0
38ms8076kbKilled by signal 11(SIGSEGV).0
412ms8068kbKilled by signal 11(SIGSEGV).0
58ms8076kbKilled by signal 11(SIGSEGV).0
68ms8076kbKilled by signal 11(SIGSEGV).0
78ms8064kbKilled by signal 11(SIGSEGV).0
836ms8080kbKilled by signal 11(SIGSEGV).0
912ms8072kbKilled by signal 11(SIGSEGV).0
1060ms8164kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?