Pagini recente » Borderou de evaluare (job #1744624) | Borderou de evaluare (job #1698709) | Borderou de evaluare (job #355480) | Borderou de evaluare (job #3252760) | Borderou de evaluare (job #1503626)
Borderou de evaluare (job #1503626)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int, int)’:
user.cpp:22:46: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",min(rmq[l][x],rmq[l][end]));
^
user.cpp: In function ‘int main()’:
user.cpp:26: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:27: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:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:34:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld ",&a[i]);
^
user.cpp:53:29: 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 | 292kb | OK | 10 | 10 |
2 | 0ms | 304kb | OK | 10 | 10 |
3 | 4ms | 584kb | OK | 10 | 10 |
4 | 108ms | 3588kb | OK | 10 | 10 |
5 | 128ms | 3596kb | OK | 10 | 20 |
6 | 768ms | 4300kb | OK | 10 |
7 | 772ms | 5760kb | OK | 10 | 10 |
8 | 904ms | 7216kb | OK | 10 | 10 |
9 | 1028ms | 7212kb | OK | 10 | 10 |
10 | 1136ms | 7208kb | OK | 10 | 10 |
Punctaj total | 100 |