Pagini recente » Borderou de evaluare (job #410372) | Borderou de evaluare (job #2895084) | Borderou de evaluare (job #2840327) | Borderou de evaluare (job #760810) | Borderou de evaluare (job #2490197)
Borderou de evaluare (job #2490197)
Raport evaluator
Compilare:
main.cpp: In function 'int32_t main()':
main.cpp:60: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:60:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:62:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&v[i]);
^
main.cpp:81: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:81:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:86: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: In function 'SegmentTree query(long long int, long long int, long long int, long long int, long long int)':
main.cpp:54:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int32_t main()':
main.cpp:57: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:58: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:60: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:62:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:81: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 | 501ms | 131kb | Time limit exceeded | 0 |
2 | 503ms | 131kb | Time limit exceeded | 0 |
3 | 501ms | 131kb | Time limit exceeded | 0 |
4 | 503ms | 131kb | Time limit exceeded | 0 |
5 | 501ms | 131kb | Time limit exceeded | 0 |
6 | 501ms | 1179kb | Time limit exceeded | 0 |
7 | 503ms | 1310kb | Time limit exceeded | 0 |
8 | 501ms | 1703kb | Time limit exceeded | 0 |
9 | 501ms | 1966kb | Time limit exceeded | 0 |
10 | 501ms | 2097kb | Time limit exceeded | 0 |
Punctaj total | 0 |