Borderou de evaluare (job #2490198)

Utilizator alexradu04Radu Alexandru alexradu04 Data 9 noiembrie 2019 21:42:52
Problema 3max Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
1503ms131kbTime limit exceeded0
2502ms131kbTime limit exceeded0
3500ms131kbTime limit exceeded0
4502ms131kbTime limit exceeded0
5502ms131kbTime limit exceeded0
6500ms1179kbTime limit exceeded0
7500ms1310kbTime limit exceeded0
8503ms1703kbTime limit exceeded0
9500ms1966kbTime limit exceeded0
10500ms2097kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?