Borderou de evaluare (job #1371470)

Utilizator Mihai22eMihai Ionut Enache Mihai22e Data 3 martie 2015 21:37:49
Problema Arbore3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:98:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", ans); ^ user.cpp:80:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbore3.in", "r", stdin); ^ user.cpp:81:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbore3.out", "w", stdout); ^ user.cpp:83:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &S); ^ user.cpp:87:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &val[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
128ms19808kbIncorect0
228ms19940kbKilled by signal 6(SIGABRT).0
372ms21476kbIncorect0
4240ms25768kbKilled by signal 11(SIGSEGV).0
5460ms31680kbKilled by signal 11(SIGSEGV).0
6636ms36484kbKilled by signal 11(SIGSEGV).0
7756ms39412kbKilled by signal 11(SIGSEGV).0
8792ms40692kbKilled by signal 11(SIGSEGV).0
9852ms41632kbKilled by signal 11(SIGSEGV).0
10836ms41632kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?