Pagini recente » Borderou de evaluare (job #1659443) | Borderou de evaluare (job #2715848) | Borderou de evaluare (job #2798078) | Borderou de evaluare (job #3137809) | Borderou de evaluare (job #2546141)
Borderou de evaluare (job #2546141)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:10:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:32:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
main.cpp:35:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
while(!st.empty())
^~~~~
main.cpp:24:15: warning: unused variable 'j' [-Wunused-variable]
int n,m,i,j,a,b;
^
main.cpp:22:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.in","r",stdin);
^
main.cpp:23:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.out","w",stdout);
^
main.cpp:25: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:28: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 | 1310kb | Raspuns gresit | 0 |
2 | 5ms | 1310kb | Raspuns gresit | 0 |
3 | 6ms | 1310kb | Raspuns gresit | 0 |
4 | 7ms | 1441kb | Raspuns gresit | 0 |
5 | 10ms | 1572kb | Raspuns gresit | 0 |
6 | 16ms | 1703kb | Raspuns gresit | 0 |
7 | 32ms | 2228kb | Raspuns gresit | 0 |
8 | 45ms | 2621kb | Raspuns gresit | 0 |
9 | 96ms | 3932kb | Raspuns gresit | 0 |
10 | 156ms | 4849kb | Raspuns gresit | 0 |
Punctaj total | 0 |