Pagini recente » Borderou de evaluare (job #2041737) | Cod sursa (job #1757587) | Borderou de evaluare (job #1793347) | Borderou de evaluare (job #1757422) | Borderou de evaluare (job #1797582)
Borderou de evaluare (job #1797582)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l=lmax[c]+1;
^
user.cpp:33:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p[i]=pmax[c];
^
user.cpp:34:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(l>lmax[d]) {
^
user.cpp:35:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
lmax[d]=l;
^
user.cpp:36:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pmax[d]=i;
^
user.cpp:20:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",a);
^
user.cpp:24:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 344kb | Corect | 10 |
| 2 | 0ms | 340kb | Corect | 10 |
| 3 | 0ms | 280kb | Corect | 10 |
| 4 | 0ms | 280kb | Corect | 10 |
| 5 | 0ms | 572kb | Corect | 10 |
| 6 | 4ms | 712kb | Corect | 10 |
| 7 | 0ms | 284kb | Corect | 10 |
| 8 | 8ms | 1048kb | Corect | 10 |
| 9 | 0ms | 308kb | Corect | 10 |
| 10 | 0ms | 332kb | Corect | 10 |
| Punctaj total | 100 |