Borderou de evaluare (job #1392410)

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

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:62: 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:45:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(V[j].size()-1 == numere) ^ user.cpp:50: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
10ms288kbIncorect0
20ms312kbIncorect0
30ms404kbIncorect0
40ms476kbIncorect0
524ms564kbIncorect0
64ms428kbIncorect0
7Depăşit672kbTime limit exceeded.0
8Depăşit676kbTime limit exceeded.0
9Depăşit776kbTime limit exceeded.0
10Depăşit780kbTime limit exceeded.0
11Depăşit780kbTime limit exceeded.0
12Depăşit724kbTime limit exceeded.0
13Depăşit756kbTime limit exceeded.0
14Depăşit780kbTime limit exceeded.0
15Depăşit660kbTime limit exceeded.0
16Depăşit756kbTime limit exceeded.0
17Depăşit756kbTime limit exceeded.0
18Depăşit768kbTime limit exceeded.0
19Depăşit784kbTime limit exceeded.0
20Depăşit764kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?