Borderou de evaluare (job #1392414)

Utilizator sergiunascaSergiu Nasca sergiunasca Data 18 martie 2015 17:25:57
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5005]’ [-Wformat=] scanf("%s ",&a[i]); ^ user.cpp:28:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(V[j].size() == numere) ^ user.cpp:30:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k=V[j][V[j].size()-1]+1;k<strlen(a[j]);++k) ^ user.cpp:48:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(V[j].size()-1 == numere) ^ user.cpp:53:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if(V[j].size() == numere) ^ user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("search.in","r",stdin); ^ user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("search.out","w",stdout); ^ user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s ",&a[i]); ^ user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c ",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK5
20ms308kbOK5
30ms404kbOK5
40ms464kbOK5
524ms564kbOK5
64ms424kbOK5
7Depăşit676kbTime limit exceeded.0
8Depăşit676kbTime limit exceeded.0
9Depăşit780kbTime limit exceeded.0
10Depăşit780kbTime limit exceeded.0
11Depăşit780kbTime limit exceeded.0
12Depăşit724kbTime limit exceeded.0
13Depăşit748kbTime limit exceeded.0
14Depăşit788kbTime limit exceeded.0
15Depăşit660kbTime limit exceeded.0
16Depăşit756kbTime limit exceeded.0
17Depăşit760kbTime limit exceeded.0
18Depăşit764kbTime limit exceeded.0
19Depăşit784kbTime limit exceeded.0
20Depăşit764kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?