Pagini recente » Borderou de evaluare (job #88838) | Borderou de evaluare (job #2339342) | Borderou de evaluare (job #2741445) | Borderou de evaluare (job #418983) | Borderou de evaluare (job #1564920)
Borderou de evaluare (job #1564920)
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 | 280kb | OK | 10 |
3 | 0ms | 300kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 0ms | 420kb | OK | 10 |
6 | 0ms | 520kb | OK | 10 |
7 | 0ms | 560kb | OK | 10 |
8 | 4ms | 660kb | OK | 10 |
9 | 4ms | 768kb | OK | 10 |
10 | 0ms | 288kb | OK | 10 |
Punctaj total | 100 |