Pagini recente » Borderou de evaluare (job #15323) | Borderou de evaluare (job #3130116) | Borderou de evaluare (job #456112) | Borderou de evaluare (job #2375280) | Borderou de evaluare (job #1774838)
Borderou de evaluare (job #1774838)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:20:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:30:83: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",min(rmq[x][log[y-x+1]],rmq[y-doi[log[y-x+1]]+1][log[y-x+1]]));
^
user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in","r",stdin);
^
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out","w",stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:29:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 280kb | OK | 10 | 10 |
2 | 0ms | 300kb | OK | 10 | 10 |
3 | 4ms | 1144kb | OK | 10 | 10 |
4 | 128ms | 8876kb | OK | 10 | 10 |
5 | 144ms | 8868kb | OK | 10 | 20 |
6 | 700ms | 10592kb | OK | 10 |
7 | 740ms | 14028kb | OK | 10 | 10 |
8 | 44ms | Depăşit | Memory limit exceeded. | 0 | 0 |
9 | 44ms | Depăşit | Memory limit exceeded. | 0 | 0 |
10 | 44ms | Depăşit | Memory limit exceeded. | 0 | 0 |
Punctaj total | 70 |