Pagini recente » Borderou de evaluare (job #743166) | Borderou de evaluare (job #2288702) | Borderou de evaluare (job #2971963) | Borderou de evaluare (job #335301) | Borderou de evaluare (job #2560981)
Borderou de evaluare (job #2560981)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:25: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[40]' [-Wformat=]
while(scanf("%s", &s[c])>0){
^
main.cpp:32:12: warning: array subscript has type 'char' [-Wchar-subscripts]
if(C[A[i]]){
^
main.cpp:33:17: warning: array subscript has type 'char' [-Wchar-subscripts]
L[i]=L[C[A[i]]]+1;
^
main.cpp:34:15: warning: array subscript has type 'char' [-Wchar-subscripts]
T[i]=C[A[i]];
^
main.cpp:40:14: warning: array subscript has type 'char' [-Wchar-subscripts]
if(L[C[B[i]]]<L[i])
^
main.cpp:41:10: warning: array subscript has type 'char' [-Wchar-subscripts]
C[B[i]]=i;
^
main.cpp:19:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in", "r", stdin);
^
main.cpp:20:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 262kb | Corect | 10 |
2 | 3ms | 262kb | Corect | 10 |
3 | 2ms | 131kb | Corect | 10 |
4 | 2ms | 131kb | Corect | 10 |
5 | 5ms | 655kb | Corect | 10 |
6 | 8ms | 917kb | Corect | 10 |
7 | 2ms | 131kb | Corect | 10 |
8 | 12ms | 1310kb | Corect | 10 |
9 | 3ms | 262kb | Corect | 10 |
10 | 3ms | 262kb | Corect | 10 |
Punctaj total | 100 |