Borderou de evaluare (job #2490197)

Utilizator alexradu04Radu Alexandru alexradu04 Data 9 noiembrie 2019 21:42:24
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: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
1501ms131kbTime limit exceeded0
2503ms131kbTime limit exceeded0
3501ms131kbTime limit exceeded0
4503ms131kbTime limit exceeded0
5501ms131kbTime limit exceeded0
6501ms1179kbTime limit exceeded0
7503ms1310kbTime limit exceeded0
8501ms1703kbTime limit exceeded0
9501ms1966kbTime limit exceeded0
10501ms2097kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?