Pagini recente » Borderou de evaluare (job #1207705) | Borderou de evaluare (job #739922) | Borderou de evaluare (job #838355) | Borderou de evaluare (job #1625327) | Borderou de evaluare (job #2183164)
Borderou de evaluare (job #2183164)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:22:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[act].size(); ++i)
~~^~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:43:6: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i = 1; i <= n; ++i)
^~~
user.cpp:45:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i = 1; i <= m; ++i)
^~~
user.cpp:36:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.in","r",stdin);
^
user.cpp:37:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.out","w",stdout);
^
user.cpp:38:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:41:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:47:30: 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 | 3212kb | Corect! | 10 |
2 | 8ms | 3244kb | Corect! | 10 |
3 | 4ms | 3232kb | Corect! | 10 |
4 | 24ms | 3396kb | Corect! | 10 |
5 | 64ms | 3772kb | Corect! | 10 |
6 | 80ms | 3940kb | Corect! | 10 |
7 | 76ms | 3896kb | Corect! | 10 |
8 | 100ms | 4080kb | Corect! | 10 |
9 | 92ms | 4048kb | Corect! | 10 |
10 | 120ms | 4204kb | Corect! | 10 |
Punctaj total | 100 |