Pagini recente » Borderou de evaluare (job #2128995) | Borderou de evaluare (job #2020344) | Borderou de evaluare (job #473643) | Borderou de evaluare (job #1881866) | Borderou de evaluare (job #2222532)
Borderou de evaluare (job #2222532)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Repeat[0][Ham[0]]=1;
^
user.cpp:45:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Repeat[i][Ham[i]]++;
^
user.cpp:65:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A=st*Repeat[K-1][Ham[List[i]]]*2;
^
user.cpp:66:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
B=st*Repeat[K-1][Reverse(Ham[List[i]])]*2;
^
user.cpp:68:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(rest>=1) {if(!CLast) A+=Repeat[K-1][c];
^
user.cpp:69:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else A+=Repeat[K-1][Reverse(c)];}
^
user.cpp:70:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(rest>=2) {if(!CLast) A+=Repeat[K-1][Reverse(c)];
^
user.cpp:71:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else A+=Repeat[K-1][c];}
^
user.cpp:72:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(rest>=3) {if(!CLast) A+=Repeat[K-1][Reverse(c)];
^
user.cpp:73:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else A+=Repeat[K-1][c];}
^
user.cpp:74:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!C)A+=Repeat[List[i]][c];
^
user.cpp:75:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else A+=Repeat[List[i]][Reverse(c)];
^
user.cpp: In function ‘long long int Caps(long long int, long long int, long long int)’:
user.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("caps.in", "r", stdin);
^
user.cpp:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("caps.out", "w", stdout);
^
user.cpp:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &K, &Q);
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 876kb | Partial corect | 6 |
2 | 0ms | 872kb | Corect | 5 |
3 | 0ms | 804kb | Corect | 5 |
4 | 0ms | 864kb | Corect | 5 |
5 | 40ms | 4088kb | Corect | 5 |
6 | 44ms | 4132kb | Corect | 5 |
7 | 48ms | 4168kb | Corect | 5 |
8 | 56ms | 4208kb | Corect | 5 |
9 | 4ms | 1668kb | Corect | 5 |
10 | 4ms | 3824kb | Corect | 5 |
11 | 4ms | 1568kb | Corect | 5 |
12 | 4ms | 3820kb | Corect | 5 |
13 | 60ms | 12296kb | Corect | 5 |
14 | 76ms | 18500kb | Corect | 5 |
15 | 104ms | 35784kb | Corect | 5 |
16 | 144ms | 43256kb | Corect | 5 |
17 | 172ms | 45760kb | Corect | 5 |
18 | 204ms | 48256kb | Corect | 5 |
19 | 212ms | 50752kb | Corect | 5 |
Punctaj total | 96 |