Borderou de evaluare (job #1660479)

Utilizator iulian_f2kGuraliuc Iulian iulian_f2k Data 23 martie 2016 09:56:49
Problema Banana Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Solve()’: user.cpp:34:31: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%hd%hd", &x, &y); ^ user.cpp:34:31: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp: In function ‘void Optimize()’: user.cpp:55:27: warning: left operand of comma operator has no effect [-Wunused-value] for(int i=N, ok = 1; i>=1, ok; --i) ^ user.cpp: In function ‘void Solve()’: user.cpp:34:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd", &x, &y); ^ user.cpp: In function ‘void Read()’: user.cpp:95:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("banana.in", "rt", stdin); ^ user.cpp:96:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("banana.out", "wt", stdout); ^ user.cpp:97:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &K); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms392kbKilled by signal 11(SIGSEGV).0
20ms388kbKilled by signal 11(SIGSEGV).0
30ms396kbKilled by signal 11(SIGSEGV).0
40ms396kbKilled by signal 11(SIGSEGV).0
50ms388kbKilled by signal 11(SIGSEGV).0
60ms388kbKilled by signal 11(SIGSEGV).0
70ms388kbKilled by signal 11(SIGSEGV).0
80ms392kbKilled by signal 11(SIGSEGV).0
90ms392kbKilled by signal 11(SIGSEGV).0
100ms388kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?