Borderou de evaluare (job #1252103)
Raport evaluator
Compilare:
user.c:46:6: warning: return type of ‘main’ is not ‘int’ [-Wmain]
long main(void)
^
user.c: In function ‘main’:
user.c:53:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
scanf("%d %d", &n, &m);
^
user.c:53:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
user.c:57:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
scanf("%d", &H[N + i]);
^
user.c:62:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
scanf("%d %d %d", &op, &a, &b);
^
user.c:62:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
user.c:62:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:64:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", query(1, 0, N - 1, a - 1, b - 1));
^
user.c:50:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.c:51:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT, "w", stdout);
^
user.c:53:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.c:57:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &H[N + i]);
^
user.c:62:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &op, &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 10 |
2 | 4ms | 276kb | OK | 10 | 10 |
3 | 8ms | 284kb | OK | 10 | 10 |
4 | 32ms | 320kb | OK | 10 | 10 |
5 | 28ms | 812kb | Wall time limit exceeded. | 0 | 0 |
6 | 28ms | 812kb | Wall time limit exceeded. | 0 | 0 |
7 | 28ms | 808kb | Wall time limit exceeded. | 0 |
8 | 28ms | 816kb | Wall time limit exceeded. | 0 |
9 | 28ms | 816kb | Wall time limit exceeded. | 0 |
10 | 28ms | 812kb | Wall time limit exceeded. | 0 |
Punctaj total | 40 |