Pagini recente » Borderou de evaluare (job #1393335) | Borderou de evaluare (job #78207) | Borderou de evaluare (job #1180218) | Borderou de evaluare (job #1663466) | Borderou de evaluare (job #2490198)
Borderou de evaluare (job #2490198)
Raport evaluator
Compilare:
main.cpp: In function 'int32_t main()':
main.cpp:62:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d %d",&n,&m);
^
main.cpp:62:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:64:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&v[i]);
^
main.cpp:83:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d %d",&x,&y);
^
main.cpp:83:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:88:44: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",query(1, 1, n, x, y).best);
^
main.cpp:59:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("3max.in","r",stdin);
^
main.cpp:60:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("3max.out","w",stdout);
^
main.cpp:62:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
main.cpp:64:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:83:25: 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 |
1 | 503ms | 131kb | Time limit exceeded | 0 |
2 | 502ms | 131kb | Time limit exceeded | 0 |
3 | 500ms | 131kb | Time limit exceeded | 0 |
4 | 502ms | 131kb | Time limit exceeded | 0 |
5 | 502ms | 131kb | Time limit exceeded | 0 |
6 | 500ms | 1179kb | Time limit exceeded | 0 |
7 | 500ms | 1310kb | Time limit exceeded | 0 |
8 | 503ms | 1703kb | Time limit exceeded | 0 |
9 | 500ms | 1966kb | Time limit exceeded | 0 |
10 | 500ms | 2097kb | Time limit exceeded | 0 |
Punctaj total | 0 |