Pagini recente » Borderou de evaluare (job #83580) | Borderou de evaluare (job #469747) | Borderou de evaluare (job #2417886) | Borderou de evaluare (job #2452729) | Borderou de evaluare (job #2546143)
Borderou de evaluare (job #2546143)
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:31:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
main.cpp:34: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 | OK | 10 |
2 | 5ms | 1310kb | OK | 10 |
3 | 5ms | 1310kb | OK | 10 |
4 | 7ms | 1441kb | OK | 10 |
5 | 9ms | 1441kb | OK | 10 |
6 | 14ms | 1441kb | OK | 10 |
7 | 27ms | 1835kb | OK | 10 |
8 | 37ms | 1966kb | OK | 10 |
9 | 75ms | 2490kb | OK | 10 |
10 | 115ms | 3014kb | OK | 10 |
Punctaj total | 100 |