Borderou de evaluare (job #1195766)

Utilizator binicBinica Nicolae binic Data 8 iunie 2014 11:01:58
Problema Perioada2 Status done
Runda Algoritmiada 2014 - Runda 3, Clasele 5-8 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[a[i]]++; ^ user.cpp:16:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] v1[a[0]]++; ^ user.cpp:18:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(v[a[0]]==n)z++; ^ user.cpp:23:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] v1[a[i]]++; ^ user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perioada2.in","r",stdin); ^ user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perioada2.out","w",stdout); ^ user.cpp:10:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&a[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms260kbOK1010
268ms1236kbOK1010
3Depăşit5624kbTime limit exceeded.00
4Depăşit5520kbTime limit exceeded.00
5Depăşit6412kbTime limit exceeded.0
6Depăşit5556kbTime limit exceeded.0
7Depăşit5784kbTime limit exceeded.00
8Depăşit5572kbTime limit exceeded.0
9Depăşit5540kbTime limit exceeded.0
10Depăşit5792kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?