Borderou de evaluare (job #1196401)

Utilizator DenisacheDenis Ehorovici Denisache Data 8 iunie 2014 13:27:53
Problema Potriveala Status done
Runda Algoritmiada 2014 - Runda 3, Clasele 9-10 Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] poz[b[i]].push_back(i); ^ user.cpp:21:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (vector<int>::iterator it=poz[a[i]].begin();it!=poz[a[i]].end();it++) ^ user.cpp:21:69: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (vector<int>::iterator it=poz[a[i]].begin();it!=poz[a[i]].end();it++) ^ user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("potriveala.in","r",stdin); ^ user.cpp:11:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("potriveala.out","w",stdout); ^ user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",a); N=strlen(a); ^ user.cpp:13:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",b); M=strlen(b); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms268kbOK1010
20ms268kbOK1010
30ms268kbOK1010
44ms272kbOK1010
5Depăşit308kbTime limit exceeded.00
6Depăşit356kbTime limit exceeded.00
7Depăşit500kbTime limit exceeded.00
8Depăşit736kbTime limit exceeded.00
9Depăşit1024kbTime limit exceeded.0
10Depăşit1280kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?