Pagini recente » Borderou de evaluare (job #360566) | Borderou de evaluare (job #2061174) | Borderou de evaluare (job #657586) | Borderou de evaluare (job #1843633) | Borderou de evaluare (job #1564917)
Borderou de evaluare (job #1564917)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42: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 | 288kb | OK | 10 |
3 | 0ms | 300kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 0ms | 416kb | Incorect | 0 |
6 | 0ms | 516kb | OK | 10 |
7 | 0ms | 564kb | OK | 10 |
8 | 4ms | 664kb | OK | 10 |
9 | 4ms | 764kb | OK | 10 |
10 | 0ms | 292kb | OK | 10 |
Punctaj total | 90 |