Borderou de evaluare (job #2221874)

Utilizator inquisitorAnders inquisitor Data 16 iulie 2018 00:51:21
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:78:38: warning: format ‘%d’ expects a matching ‘int*’ argument [-Wformat=] case 2: scanf("%d %d", &x); ^ user.cpp:48:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aib.in", "r", stdin); ^ user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aib.out", "w", stdout); ^ user.cpp:51:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &length, &operations); ^ user.cpp:55:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:62:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &task); ^ user.cpp:66:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] case 0: scanf("%d %d", &x, &y); ^ user.cpp:72:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] case 1: scanf("%d %d", &x, &y); ^ user.cpp:78:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] case 2: scanf("%d %d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms756kbKilled by signal 11(SIGSEGV).0
20ms796kbKilled by signal 11(SIGSEGV).0
30ms756kbIncorect0
44ms804kbIncorect0
58ms796kbKilled by signal 11(SIGSEGV).0
616ms908kbKilled by signal 11(SIGSEGV).0
720ms984kbKilled by signal 11(SIGSEGV).0
824ms1040kbKilled by signal 11(SIGSEGV).0
924ms1044kbKilled by signal 11(SIGSEGV).0
1024ms1044kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?