Pagini recente » Borderou de evaluare (job #261192) | Borderou de evaluare (job #2377333) | Borderou de evaluare (job #1918988) | Borderou de evaluare (job #220217) | Borderou de evaluare (job #2223605)
Borderou de evaluare (job #2223605)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs1(int)’:
user.cpp:17:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[u].size(); i++)
~~^~~~~~~~~~~~~
user.cpp:17:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int i = 0; i < g[u].size(); i++)
^~~
user.cpp:19:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
s.push(u);
^
user.cpp: In function ‘void dfs2(int)’:
user.cpp:26:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < gt[u].size(); i++)
~~^~~~~~~~~~~~~~
user.cpp:26:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int i = 0; i < gt[u].size(); i++)
^~~
user.cpp:28:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
aux.push_back(u);
^~~
user.cpp: In function ‘int main()’:
user.cpp:50:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ans.size(); i++)
~~^~~~~~~~~~~~
user.cpp:53:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < ans[i].size(); j++) printf("%d ", ans[i][j]);
~~^~~~~~~~~~~~~~~
user.cpp:33:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ctc.in", "r", stdin);
^
user.cpp:34:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ctc.out", "w", stdout);
^
user.cpp:36: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:39:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 3124kb | Corect | 10 | 30 |
2 | 4ms | 3120kb | Corect | 10 |
3 | 4ms | 3128kb | Corect | 10 |
4 | 4ms | 3172kb | Corect | 10 | 30 |
5 | 8ms | 3316kb | Corect | 10 |
6 | 20ms | 3732kb | Corect | 10 |
7 | 32ms | 4184kb | Corect | 10 | 30 |
8 | 92ms | 5548kb | Corect | 10 |
9 | 192ms | 7992kb | Corect | 10 |
10 | 228ms | 10564kb | Corect | 10 | 10 |
Punctaj total | 100 |