Pagini recente » Borderou de evaluare (job #2637977) | Borderou de evaluare (job #3216807) | Borderou de evaluare (job #2593874) | Borderou de evaluare (job #2186626) | Borderou de evaluare (job #2266828)
Borderou de evaluare (job #2266828)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:47:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void dfs1(int)':
main.cpp:91:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<cycle[tip].size();i++)
~^~~~~~~~~~~~~~~~~~
main.cpp:95:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<cycle[tip].size();i++)
~^~~~~~~~~~~~~~~~~~
main.cpp:101:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[nod1].size();j++)
~^~~~~~~~~~~~~~~
main.cpp:123:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<cycle[tip].size();i++) sum[i]=sum[i-1]+val[cycle[tip][i]];
~^~~~~~~~~~~~~~~~~~
main.cpp:131:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<cycle[tip].size();i++)
~^~~~~~~~~~~~~~~~~~
main.cpp:117:29: warning: unused variable 'first' [-Wunused-variable]
int l=cycle[tip].size(),first;
^~~~~
main.cpp: In function 'int main()':
main.cpp:217:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pastrafaceri.in","r",stdin);
^
main.cpp:219:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pastrafaceri.out","w",stdout);
^
main.cpp:223:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:225:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%lld",&val[i]);
^
main.cpp:231:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
main.cpp: In function 'void dfs1(int)':
main.cpp:87:24: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
int tip=ciclu[nod],poz;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 31ms | 14901kb | OK | 10 | 100 |
2 | 32ms | 14909kb | OK | 10 |
3 | 54ms | 15638kb | OK | 10 |
4 | 169ms | 18550kb | OK | 10 |
5 | 348ms | 21872kb | OK | 10 |
6 | 550ms | 26021kb | OK | 10 |
7 | 969ms | 35471kb | OK | 10 |
8 | 1090ms | 39055kb | OK | 10 |
9 | 1017ms | 35889kb | OK | 10 |
10 | 1058ms | 35602kb | OK | 10 |
Punctaj total | 100 |