Pagini recente » Borderou de evaluare (job #1759807) | Borderou de evaluare (job #1002555) | Borderou de evaluare (job #1313294) | Borderou de evaluare (job #2713149) | Borderou de evaluare (job #2608261)
Borderou de evaluare (job #2608261)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < G[nod].size(); ++i) {
~~^~~~~~~~~~~~~~~
main.cpp:31:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(d[vecin] > d[nod] + 1)
^~
main.cpp:33:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(v[vecin] == 0) {
^~
main.cpp:12:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in", "r", stdin);
^
main.cpp:13:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out", "w", stdout);
^
main.cpp:14:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &S);
^
main.cpp:16: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 | 7ms | 2621kb | OK | 10 |
| 2 | 7ms | 2621kb | OK | 10 |
| 3 | 7ms | 2621kb | OK | 10 |
| 4 | 12ms | 2621kb | OK | 10 |
| 5 | 20ms | 2752kb | OK | 10 |
| 6 | 76ms | 3670kb | Incorect | 0 |
| 7 | 174ms | 5111kb | Incorect | 0 |
| 8 | 155ms | 5898kb | Incorect | 0 |
| 9 | 1008ms | 11665kb | OK | 10 |
| 10 | 875ms | 11665kb | OK | 10 |
| Punctaj total | 70 |