Pagini recente » Borderou de evaluare (job #2663954) | Borderou de evaluare (job #286483) | Borderou de evaluare (job #2728861) | Borderou de evaluare (job #2854686) | Borderou de evaluare (job #2085705)
Borderou de evaluare (job #2085705)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:13:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp:15:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp:20:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[nod].size();i++) d1[nod]=(1LL*d1[nod]*d0[g[nod][i]])%mod;
^
user.cpp:26:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<g[nod].size();i++) st[i]=(1LL*st[i-1]*d0[g[nod][i-1]])%mod;
^
user.cpp:30:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("karb2.in","r",stdin);
^
user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("karb2.out","w",stdout);
^
user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:48:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:53:28: 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 | 4ms | 2648kb | OK | 10 |
2 | 4ms | 2652kb | OK | 10 |
3 | 4ms | 2648kb | OK | 10 |
4 | 4ms | 2648kb | OK | 10 |
5 | 4ms | 2688kb | OK | 10 |
6 | 4ms | 2688kb | OK | 10 |
7 | 44ms | 3848kb | OK | 10 |
8 | 92ms | 4996kb | OK | 10 |
9 | 128ms | 5764kb | OK | 10 |
10 | 160ms | 6632kb | OK | 10 |
Punctaj total | 100 |