Pagini recente » Borderou de evaluare (job #1778029) | Borderou de evaluare (job #2677971) | Borderou de evaluare (job #99275) | Borderou de evaluare (job #1165949) | Borderou de evaluare (job #2426102)
Borderou de evaluare (job #2426102)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<Mx.size()-1; ++i) if(Graph[Mx[i]][Mx[i+1]]==0){swap(Mx[i], Mx[i+1]); done=0;}
~^~~~~~~~~~~~
main.cpp:28:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", Mx.size());
^
main.cpp:29:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<Mx.size(); ++i) printf("%d ", Mx[i]);
~^~~~~~~~~~
main.cpp:14:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("plimbare.in", "r", stdin);
^
main.cpp:15:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("plimbare.out", "w", stdout);
^
main.cpp:16:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
main.cpp:19:30: 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 | 3ms | 131kb | OK! | 5 |
| 2 | 2ms | 131kb | OK! | 5 |
| 3 | 3ms | 131kb | OK! | 5 |
| 4 | 3ms | 131kb | OK! | 5 |
| 5 | 3ms | 131kb | OK! | 5 |
| 6 | 2ms | 131kb | OK! | 5 |
| 7 | 2ms | 131kb | OK! | 5 |
| 8 | 4ms | 131kb | OK! | 5 |
| 9 | 3ms | 131kb | OK! | 5 |
| 10 | 3ms | 131kb | OK! | 5 |
| 11 | 4ms | 131kb | OK! | 5 |
| 12 | 3ms | 131kb | OK! | 5 |
| 13 | 5ms | 131kb | OK! | 5 |
| 14 | 4ms | 131kb | OK! | 5 |
| 15 | 4ms | 131kb | OK! | 5 |
| 16 | 4ms | 131kb | OK! | 5 |
| 17 | 6ms | 131kb | OK! | 5 |
| 18 | 5ms | 131kb | OK! | 5 |
| 19 | 6ms | 131kb | OK! | 5 |
| 20 | 5ms | 131kb | OK! | 5 |
| Punctaj total | 100 |