Borderou de evaluare (job #1748435)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 26 august 2016 13:07:06
Problema Superbec Status done
Runda Junior Challenge 2016 Runda 1 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:107:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(rang[A[i]] > rang[a[i%30]]) a[i%30] = A[i]; ^ user.cpp:107:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(rang[A[i]] > rang[a[i%30]]) a[i%30] = A[i]; ^ user.cpp:81:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("superbec.in", "r", stdin); ^ user.cpp:82:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("superbec.out", "w", stdout); ^ user.cpp:84:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:100:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n%s", &n, &m, A+1); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
136ms448kbOK1020
244ms452kbOK10
3512ms452kbIncorect00
4376ms452kbIncorect0
5520ms452kbIncorect0
6564ms452kbOK100
7296ms452kbIncorect0
8796ms548kbOK100
9800ms544kbOK10
10Depăşit528kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?