Pagini recente »
Borderou de evaluare (job #847429)
|
Borderou de evaluare (job #848098)
|
Borderou de evaluare (job #659436)
|
Borderou de evaluare (job #849077)
|
Borderou de evaluare (job #674523)
Borderou de evaluare (job #674523)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:16:11: warning: array subscript has type 'char' [-Wchar-subscripts]
16 | while(ch[i] != '\n'){
| ^
main.c:17:9: warning: array subscript has type 'char' [-Wchar-subscripts]
17 | if(ch[i] >= 'A' && ch[i] <= 'Z' && ch[i] - 'A' + 11> max){
| ^
main.c:17:25: warning: array subscript has type 'char' [-Wchar-subscripts]
17 | if(ch[i] >= 'A' && ch[i] <= 'Z' && ch[i] - 'A' + 11> max){
| ^
main.c:17:41: warning: array subscript has type 'char' [-Wchar-subscripts]
17 | if(ch[i] >= 'A' && ch[i] <= 'Z' && ch[i] - 'A' + 11> max){
| ^
main.c:18:14: warning: array subscript has type 'char' [-Wchar-subscripts]
18 | max = ch[i] - 'A' + 11 ;
| ^
main.c:21:14: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | else if(ch[i] >= '0' && ch[i] <= '9' && ch[i] - '0' + 1> max){
| ^
main.c:21:30: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | else if(ch[i] >= '0' && ch[i] <= '9' && ch[i] - '0' + 1> max){
| ^
main.c:21:46: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | else if(ch[i] >= '0' && ch[i] <= '9' && ch[i] - '0' + 1> max){
| ^
main.c:22:14: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | max = ch[i] - '0' + 1;
| ^
main.c:28:6: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | ch[i] = fgetc(fin);
| ^
main.c:11:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:57:3: warning: 'baza' may be used uninitialized in this function [-Wmaybe-uninitialized]
57 | fprintf(fout, "%lld %lld\n", nr , --baza);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:21:41: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
21 | else if(ch[i] >= '0' && ch[i] <= '9' && ch[i] - '0' + 1> max){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
110 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
110 kb
|
OK
|
10
|
|
3
|
1 ms
|
110 kb
|
OK
|
10
|
|
4
|
1 ms
|
110 kb
|
OK
|
10
|
|
5
|
1 ms
|
110 kb
|
OK
|
10
|
|
6
|
1 ms
|
110 kb
|
OK
|
10
|
|
7
|
1615 ms
|
118 kb
|
OK
|
10
|
|
8
|
1 ms
|
110 kb
|
OK
|
10
|
|
9
|
1 ms
|
114 kb
|
OK
|
10
|
|
10
|
1 ms
|
110 kb
|
OK
|
10
|
|
Penalizare: 5% (pentru 1 submisie/ii)
|
5%
|
|
Punctaj total
|
85
|