Pagini recente » Borderou de evaluare (job #1394876) | Borderou de evaluare (job #2071630) | Borderou de evaluare (job #1023504) | Borderou de evaluare (job #1919321) | Borderou de evaluare (job #1718560)
Borderou de evaluare (job #1718560)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:36:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp:37:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(g[node][i]!=father)
^
user.cpp: In function ‘bool Hamilton(int, int, int, int)’:
user.cpp:61:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘void SolveBiconex(int, int, int)’:
user.cpp:70:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<component[index].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:109:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<solution.size();i++)
^
user.cpp:78:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("santa.in","r",stdin);
^
user.cpp:79:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("santa.out","w",stdout);
^
user.cpp:81:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:83:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:87:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&s,&e,&q);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1572kb | OK! | 10 |
2 | 0ms | 1576kb | OK! | 10 |
3 | 0ms | 1604kb | OK! | 10 |
4 | 4ms | 1624kb | OK! | 10 |
5 | 8ms | 1908kb | OK! | 10 |
6 | 24ms | 2252kb | OK! | 10 |
7 | 56ms | 2812kb | OK! | 10 |
8 | 68ms | 3136kb | OK! | 10 |
9 | 176ms | 5140kb | OK! | 10 |
10 | 0ms | 1576kb | OK! | 10 |
Punctaj total | 100 |