Problem subgraphs
User AshwinJoy
Submission Time 2026-08-29 17:43:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:51:12: error: found ‘:’ in nested-name-specifier, expected ‘::’
51 | int N, E:
| ^
| ::
subgraphs.cpp:51:11: error: ‘E’ has not been declared
51 | int N, E:
| ^
subgraphs.cpp:52:8: error: qualified-id in declaration before ‘>>’ token
52 | cin >> N >> E;
| ^~
subgraphs.cpp:56:18: error: ‘E’ was not declared in this scope
56 | for(int i=0;i<E;i++){
| ^