Pagini recente » Borderou de evaluare (job #755599) | Borderou de evaluare (job #2729438) | Borderou de evaluare (job #704069) | Borderou de evaluare (job #184328) | Borderou de evaluare (job #2222514)
Borderou de evaluare (job #2222514)
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:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!C)A+=Repeat[List[i]+1][c];
^
user.cpp:75:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else A+=Repeat[List[i]+1][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 | 880kb | Incorect | 0 |
2 | 0ms | 936kb | Partial corect | 2 |
3 | 0ms | 876kb | Partial corect | 2 |
4 | 0ms | 800kb | Partial corect | 2 |
5 | 40ms | 4096kb | Partial corect | 2 |
6 | 44ms | 4132kb | Partial corect | 2 |
7 | 48ms | 4168kb | Partial corect | 2 |
8 | 56ms | 4204kb | Partial corect | 2 |
9 | 4ms | 1668kb | Partial corect | 2 |
10 | 4ms | 3824kb | Partial corect | 2 |
11 | 4ms | 1564kb | Partial corect | 2 |
12 | 4ms | 3824kb | Corect | 5 |
13 | 64ms | 12300kb | Partial corect | 2 |
14 | 76ms | 18500kb | Partial corect | 2 |
15 | 108ms | 35780kb | Partial corect | 2 |
16 | 144ms | 43256kb | Partial corect | 2 |
17 | 172ms | 45756kb | Corect | 5 |
18 | 200ms | 48256kb | Corect | 5 |
19 | 212ms | 50748kb | Corect | 5 |
Punctaj total | 48 |