Pagini recente » Borderou de evaluare (job #2749894) | Borderou de evaluare (job #2457390) | Borderou de evaluare (job #2285736) | Borderou de evaluare (job #2800146) | Borderou de evaluare (job #3179849)
Borderou de evaluare (job #3179849)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:24: warning: array subscript has type 'char' [-Wchar-subscripts]
19 | if(cnt_apariti[ch] < 1){
| ^~
main.cpp:20:25: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | cnt_apariti[ch]++;
| ^~
main.cpp:24:29: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | else if(cnt_apariti[ch] < 2)
| ^~
main.cpp:25:29: warning: array subscript has type 'char' [-Wchar-subscripts]
25 | cnt_apariti[ch]++;
| ^~
main.cpp:24:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
24 | else if(cnt_apariti[ch] < 2)
| ^~
main.cpp:26:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
26 | nr_duble++,
| ^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | Incorect | 0 |
7 | 0ms | 303kb | Incorect | 0 |
8 | 0ms | 303kb | Incorect | 0 |
9 | 0ms | 303kb | Incorect | 0 |
10 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 10 |