Pagini recente » Borderou de evaluare (job #908257) | Borderou de evaluare (job #956689) | Borderou de evaluare (job #2511395) | Borderou de evaluare (job #1082732) | Borderou de evaluare (job #2003418)
Borderou de evaluare (job #2003418)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(val[1][ch[i]]<p1+1)
^
user.cpp:44:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[1][ch[i]]=p1+1;
^
user.cpp:45:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol=max(val[1][ch[i]],sol);
^
user.cpp:51:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(val[0][ch[i]]<p2+1)
^
user.cpp:53:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[0][ch[i]]=p2+1;
^
user.cpp:54:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol=max(val[0][ch[i]],sol);
^
user.cpp:32:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("palalila2.in","r",stdin);
^
user.cpp:33:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("palalila2.out","w",stdout);
^
user.cpp:34:29: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(ch,1,500003,stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 8ms | 276kb | Incorect | 0 |
7 | 64ms | 356kb | OK | 10 |
8 | 224ms | 596kb | OK | 10 |
9 | 328ms | 748kb | Incorect | 0 |
10 | 324ms | 740kb | OK | 10 |
Punctaj total | 60 |