Borderou de evaluare (job #2606594)

Utilizator michael_blazemihai mihai michael_blaze Data 28 aprilie 2020 02:57:31
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:54: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:54:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:57:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &arr[i]); ^ main.cpp:51:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("arbint.in", "r", stdin); ^ main.cpp:52:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("arbint.out", "w", stdout); ^ main.cpp:54: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:57:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &arr[i]); ^ main.cpp:64:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &operation, &a, &b); ^ main.cpp: In function 'int max_intervals(int, int, int)': main.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
220ms131kbIncorect00
354ms262kbIncorect00
4220ms393kbIncorect00
5503ms2752kbTime limit exceeded00
6503ms2883kbTime limit exceeded00
7500ms2981kbTime limit exceeded0
8500ms2883kbTime limit exceeded0
9500ms3014kbTime limit exceeded0
10501ms3014kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?