Borderou de evaluare (job #2096182)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 28 decembrie 2017 18:48:39
Problema Radare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:49:88: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] aux[cnt & 1][j + i] = (aux[cnt & 1][j + i] + dp[it][i] * aux[1 - cnt & 1][j]) % MOD; ^ user.cpp: In function ‘int main()’: user.cpp:70:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&n,&p); ^ user.cpp:72:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&x,&y); ^ user.cpp:77:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms540kbOK10
20ms548kbOK10
30ms568kbOK10
48ms1436kbOK10
544ms2012kbOK10
664ms2148kbOK10
7Depăşit1040kbTime limit exceeded.0
8Depăşit1000kbTime limit exceeded.0
9Depăşit908kbTime limit exceeded.0
10Depăşit884kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?