Borderou de evaluare (job #1992138)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 19 iunie 2017 17:05:00
Problema Ruksak Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:32: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] dp[i & 1][j] = dp[1 - i & 1][j]; ^ user.cpp:32:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(dp[1 - i & 1][j - i * cnt] > -1) ^ user.cpp:33:60: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] dp[i & 1][j] = std::max(dp[i & 1][j], dp[1 - i & 1][j - i * cnt] + sum); ^ user.cpp:13:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&n,&g); ^ user.cpp:15:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&w,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1160ms2128kbKilled by signal 11(SIGSEGV).00
2168ms2120kbKilled by signal 11(SIGSEGV).0
3164ms2124kbKilled by signal 11(SIGSEGV).0
4160ms2120kbKilled by signal 11(SIGSEGV).0
5144ms2400kbKilled by signal 11(SIGSEGV).0
6160ms2128kbKilled by signal 11(SIGSEGV).0
7168ms2128kbKilled by signal 11(SIGSEGV).0
8168ms2120kbKilled by signal 11(SIGSEGV).0
9172ms2120kbKilled by signal 11(SIGSEGV).0
10120ms2404kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?