Pagini recente » Borderou de evaluare (job #1493789) | Borderou de evaluare (job #333878) | Borderou de evaluare (job #2428018) | Borderou de evaluare (job #2803785) | Borderou de evaluare (job #1564916)
Borderou de evaluare (job #1564916)
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:48:18: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
printf("%d\n");
^
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 | 288kb | Incorect | 0 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 296kb | Incorect | 0 |
4 | 0ms | 316kb | OK | 10 |
5 | 0ms | 416kb | Incorect | 0 |
6 | 0ms | 512kb | Incorect | 0 |
7 | 0ms | 564kb | Incorect | 0 |
8 | 4ms | 664kb | Incorect | 0 |
9 | 4ms | 764kb | Incorect | 0 |
10 | 0ms | 284kb | Incorect | 0 |
Punctaj total | 10 |