Borderou de evaluare (job #2127450)

Utilizator silkMarin Dragos silk Data 10 februarie 2018 17:49:45
Problema Password1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 24

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(i = 0; B[i]; ++i) ++cntB[ B[i] ]; ^ user.cpp:30:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] ++cnt[ A[dr] ]; ^ user.cpp:31:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(cnt[ A[dr] ] == cntB[ A[dr] ]) ++need; ^ user.cpp:31:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(cnt[ A[dr] ] == cntB[ A[dr] ]) ++need; ^ user.cpp:36:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(i = 1; i < dr; ++i) ++cntA[ A[i] ]; ^ user.cpp:43:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] --cntA[ A[st++] ]; ^ user.cpp:46:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] --cntB[ A[dr] ]; ^ user.cpp:48:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(cnt[ A[dr] ] > cntB[ A[dr] ] && dr <= N) ++cntA[ A[dr] ], --cnt[ A[dr++] ]; ^ user.cpp:48:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(cnt[ A[dr] ] > cntB[ A[dr] ] && dr <= N) ++cntA[ A[dr] ], --cnt[ A[dr++] ]; ^ user.cpp:48:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(cnt[ A[dr] ] > cntB[ A[dr] ] && dr <= N) ++cntA[ A[dr] ], --cnt[ A[dr++] ]; ^ user.cpp:48:88: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(cnt[ A[dr] ] > cntB[ A[dr] ] && dr <= N) ++cntA[ A[dr] ], --cnt[ A[dr++] ]; ^ user.cpp:21:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%s %s",A,B); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms5356kbOK624
20ms5360kbOK6
30ms5356kbOK6
40ms5352kbOK6
50ms5360kbIncorect00
60ms5356kbOK7
74ms5368kbIncorect0
84ms5396kbOK7
924ms7504kbIncorect0
10348ms17796kbIncorect00
11172ms15592kbOK7
12516ms28040kbIncorect0
13172ms11656kbIncorect0
14676ms36412kbIncorect0
15680ms36412kbIncorect0
Punctaj total24

Ceva nu functioneaza?