Borderou de evaluare (job #1545189)

Utilizator akaprosAna Kapros akapros Data 6 decembrie 2015 15:29:20
Problema Infinite Pattern Matching Status done
Runda Algoritmiada 2016 - Runda 1, Seniori Compilator cpp | Vezi sursa
Scor 32

Raport evaluator

Compilare: user.cpp: In function ‘int prefsuf_unc(int)’: user.cpp:91:12: warning: unused variable ‘k’ [-Wunused-variable] int j, k, p; ^ user.cpp: In function ‘void solve()’: user.cpp:152:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (k = prefsuf_unc(i)) ^ user.cpp:123:10: warning: unused variable ‘ok’ [-Wunused-variable] bool ok; ^ user.cpp: In function ‘void read()’: user.cpp:12:54: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("infinitepatternmatching.in", "r", stdin); ^ user.cpp:13:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp: In function ‘int brut()’: user.cpp:51:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void write()’: user.cpp:170:56: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("infinitepatternmatching.out", "w", stdout); ^ /tmp/ccJNjV0w.o: In function `read()': user.cpp:(.text+0x5f0): warning: the `gets' function is dangerous and should not be used.
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbOK4
20ms404kbOK4
30ms400kbOK4
40ms404kbOK4
50ms404kbOK4
632ms408kbOK4
70ms392kbKilled by signal 11(SIGSEGV).0
80ms396kbKilled by signal 11(SIGSEGV).0
90ms392kbKilled by signal 11(SIGSEGV).0
100ms392kbKilled by signal 11(SIGSEGV).0
110ms404kbOK4
120ms388kbKilled by signal 11(SIGSEGV).0
130ms392kbKilled by signal 11(SIGSEGV).0
140ms392kbKilled by signal 11(SIGSEGV).0
150ms392kbKilled by signal 11(SIGSEGV).0
1680ms404kbOK4
170ms388kbKilled by signal 11(SIGSEGV).0
180ms392kbKilled by signal 11(SIGSEGV).0
190ms392kbKilled by signal 11(SIGSEGV).0
200ms392kbKilled by signal 11(SIGSEGV).0
210ms392kbKilled by signal 11(SIGSEGV).0
220ms392kbKilled by signal 11(SIGSEGV).0
230ms392kbKilled by signal 11(SIGSEGV).0
240ms392kbKilled by signal 11(SIGSEGV).0
250ms388kbKilled by signal 11(SIGSEGV).0
Punctaj total32

Ceva nu functioneaza?