Pagini recente » Borderou de evaluare (job #2986048) | Borderou de evaluare (job #1197303) | Borderou de evaluare (job #2730695) | Borderou de evaluare (job #2692916) | Borderou de evaluare (job #2200011)
Borderou de evaluare (job #2200011)
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 |
1 | 0ms | 760kb | OK | 10 |
2 | 0ms | 804kb | OK | 10 |
3 | 0ms | 800kb | OK | 10 |
4 | 0ms | 808kb | OK | 10 |
5 | 0ms | 880kb | OK | 10 |
6 | 0ms | 860kb | OK | 10 |
7 | 0ms | 756kb | OK | 10 |
8 | 0ms | 796kb | OK | 10 |
9 | 0ms | 872kb | OK | 10 |
10 | 0ms | 856kb | OK | 10 |
Punctaj total | 100 |