Pagini recente » Borderou de evaluare (job #1860625) | Borderou de evaluare (job #1986894) | Borderou de evaluare (job #2647858) | Borderou de evaluare (job #3024454) | Borderou de evaluare (job #1758300)
Borderou de evaluare (job #1758300)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&n,&m);
^
user.cpp:8:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:10:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d ",&d[0][i]);
^
user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&x,&y);
^
user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:19:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d \n",min(d[k][x],d[k][y-(1<<k)+1]));
^
user.cpp:6: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:7: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:8:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:10:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&d[0][i]);
^
user.cpp:17: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 | 456kb | OK | 10 | 10 |
| 2 | 0ms | 468kb | Incorect | 0 | 0 |
| 3 | 0ms | 756kb | OK | 10 | 10 |
| 4 | 84ms | 3620kb | Incorect | 0 | 0 |
| 5 | 104ms | 3620kb | Incorect | 0 | 0 |
| 6 | 604ms | 4264kb | Incorect | 0 |
| 7 | 612ms | 5816kb | Incorect | 0 | 0 |
| 8 | 724ms | 7096kb | Incorect | 0 | 0 |
| 9 | 804ms | 7092kb | Incorect | 0 | 0 |
| 10 | 880ms | 7092kb | Incorect | 0 | 0 |
| Punctaj total | 20 |