Borderou de evaluare (job #2200011)

Utilizator cristinaveraCristina Verdeata cristinavera Data 29 aprilie 2018 22:47:12
Problema Iepuri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int dfs(int)’: user.cpp:11:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<g[nod].size();i++){ ~^~~~~~~~~~~~~~ user.cpp:16:42: warning: no return statement in function returning non-void [-Wreturn-type] dp[nod][i]=(dp[nod][i]+dp[nod][i+1])%mod;} ^ user.cpp: In function ‘int main()’: user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("iepuri2.in","r",stdin); ^ user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("iepuri2.out","w",stdout); ^ user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms760kbOK10
20ms804kbOK10
30ms800kbOK10
40ms808kbOK10
50ms880kbOK10
60ms860kbOK10
70ms756kbOK10
80ms796kbOK10
90ms872kbOK10
100ms856kbOK10
Punctaj total100

Ceva nu functioneaza?