Pagini recente » Borderou de evaluare (job #2054317) | Borderou de evaluare (job #1984892) | Borderou de evaluare (job #2054690) | Borderou de evaluare (job #2054339) | Borderou de evaluare (job #2656861)
Borderou de evaluare (job #2656861)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:38:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<arcs[x].size(); ++i)
~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:75:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::vector<int> >::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", res.size());
^
main.cpp:76:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<res.size(); ++i) {
~^~~~~~~~~~~
main.cpp:78:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<res[i].size(); ++j)
~^~~~~~~~~~~~~~
main.cpp:79:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (j == 0 || res[i][j] != res[i][j-1])
^~
main.cpp:81:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
printf("\n");
^~~~~~
main.cpp:54:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("biconex.in", "r", stdin);
^
main.cpp:55:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("biconex.out", "w", stdout);
^
main.cpp:58:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:64:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect | 10 |
| 2 | 2ms | 131kb | Corect | 10 |
| 3 | 2ms | 131kb | Corect | 10 |
| 4 | 3ms | 131kb | Corect | 10 |
| 5 | 4ms | 262kb | Corect | 10 |
| 6 | 12ms | 786kb | Corect | 10 |
| 7 | 22ms | 1310kb | Corect | 10 |
| 8 | 354ms | 19320kb | Corect | 10 |
| 9 | 161ms | 9338kb | Corect | 10 |
| 10 | 217ms | 13004kb | Corect | 10 |
| Punctaj total | 100 |