Pagini recente » Borderou de evaluare (job #1061163) | Borderou de evaluare (job #2060395) | Borderou de evaluare (job #2699694) | Borderou de evaluare (job #1588573) | Borderou de evaluare (job #1505373)
Borderou de evaluare (job #1505373)
Raport evaluator
Compilare:
user.cpp: In function ‘void rezolvare()’:
user.cpp:28:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
lungin[i]=lungmax[m[i][0]]+1;
^
user.cpp:29:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pi[i]=pm[m[i][0]];
^
user.cpp:31:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(lungin[i]>lungmax[m[i][strlen(m[i])-1]])
^
user.cpp:33:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
lungmax[m[i][strlen(m[i])-1]]=lungin[i];
^
user.cpp:34:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pm[m[i][strlen(m[i])-1]]=i;
^
user.cpp: In function ‘void citire()’:
user.cpp:12:31: 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);
^
user.cpp:13:33: 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 | 0ms | 480kb | Corect | 10 |
| 2 | 0ms | 456kb | Corect | 10 |
| 3 | 0ms | 420kb | Corect | 10 |
| 4 | 0ms | 420kb | Corect | 10 |
| 5 | 4ms | 728kb | Corect | 10 |
| 6 | 4ms | 876kb | Corect | 10 |
| 7 | 0ms | 416kb | Corect | 10 |
| 8 | 8ms | 1016kb | Corect | 10 |
| 9 | 0ms | 440kb | Corect | 10 |
| 10 | 0ms | 448kb | Corect | 10 |
| Punctaj total | 100 |