Pagini recente » Borderou de evaluare (job #288090) | Borderou de evaluare (job #1959591) | Borderou de evaluare (job #2267904) | Borderou de evaluare (job #1741875) | Borderou de evaluare (job #2003420)
Borderou de evaluare (job #2003420)
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:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",ch);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 8ms | 308kb | OK | 10 |
7 | 64ms | 380kb | OK | 10 |
8 | 228ms | 628kb | OK | 10 |
9 | 332ms | 768kb | OK | 10 |
10 | 328ms | 772kb | OK | 10 |
Punctaj total | 100 |