Borderou de evaluare (job #1406077)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 29 martie 2015 16:23:17
Problema Secv10 Status done
Runda ONIS 2015, Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void kmp1()’: user.cpp:48:9: warning: unused variable ‘ok’ [-Wunused-variable] int ok = 0; ^ user.cpp: In function ‘void kmp2()’: user.cpp:63:9: warning: unused variable ‘ok’ [-Wunused-variable] int ok = 0; ^ user.cpp: In function ‘int main()’: user.cpp:87:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < sol1.size(); ++i) ^ user.cpp:86:13: warning: unused variable ‘n’ [-Wunused-variable] int n = strlen(a); ^ user.cpp:75:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv10.in", "r", stdin); ^ user.cpp:76:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv10.out", "w", stdout); ^ user.cpp:77:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &T); ^ user.cpp:81:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b + 1); ^ user.cpp:82:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a + 1); ^ user.cpp:83:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c + 1); ^ /tmp/ccdOkiKb.o: In function `main': user.cpp:(.text.startup+0x7d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1128kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?