Pagini recente » Borderou de evaluare (job #2233185) | Borderou de evaluare (job #1983489) | Borderou de evaluare (job #2515659) | Borderou de evaluare (job #836117) | Borderou de evaluare (job #1564918)
Borderou de evaluare (job #1564918)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int i = n,j = s;i;j -= l[parent[i][j]],i--)
^
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.in","r",stdin);
^
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.out","w",stdout);
^
user.cpp:22:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&s,&n,&c);
^
user.cpp:26:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&l[it],&p[it]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 0ms | 416kb | Incorect | 0 |
6 | 0ms | 516kb | OK | 10 |
7 | 0ms | 560kb | OK | 10 |
8 | 4ms | 668kb | OK | 10 |
9 | 4ms | 764kb | OK | 10 |
10 | 0ms | 288kb | OK | 10 |
Punctaj total | 90 |