Pagini recente » Cod sursa (job #2501179) | Borderou de evaluare (job #613892) | Borderou de evaluare (job #1302048) | Borderou de evaluare (job #2026170) | Borderou de evaluare (job #2145742)
Borderou de evaluare (job #2145742)
Raport evaluator
Compilare:
user.cpp: In function ‘void CreateComponent(int, int)’:
user.cpp:18:9: warning: unused variable ‘x’ [-Wunused-variable]
int x=Stack.top().first,y=Stack.top().second;
^
user.cpp:18:29: warning: unused variable ‘y’ [-Wunused-variable]
int x=Stack.top().first,y=Stack.top().second;
^
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:31:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:55:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<component[i].size();j++)
^
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("biconex.in","r",stdin);
^
user.cpp:44:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biconex.out","w",stdout);
^
user.cpp:46: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:48:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 6484kb | Corect | 10 |
2 | 4ms | 6484kb | Corect | 10 |
3 | 4ms | 6484kb | Corect | 10 |
4 | 4ms | 6536kb | Corect | 10 |
5 | 8ms | 6600kb | Corect | 10 |
6 | 12ms | 6928kb | Corect | 10 |
7 | 20ms | 7252kb | Corect | 10 |
8 | 188ms | Depăşit | Memory limit exceeded. | 0 |
9 | 136ms | 12548kb | Corect | 10 |
10 | 176ms | 15296kb | Corect | 10 |
Punctaj total | 90 |