Pagini recente » Borderou de evaluare (job #1926839) | Borderou de evaluare (job #1449856) | Borderou de evaluare (job #2517749) | Cod sursa (job #373369) | Borderou de evaluare (job #2288215)
Borderou de evaluare (job #2288215)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:91: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short unsigned int*' [-Wformat=]
freopen("dijkstra.in","r",stdin),freopen("dijkstra.out","w",stdout),scanf("%d%d",&n,&m);
^
main.cpp:13:47: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short unsigned int*' [-Wformat=]
scanf("%d%d%d",&g[i].a,&g[i].b,&g[i].c);
^
main.cpp:13:47: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short unsigned int*' [-Wformat=]
main.cpp:13:47: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short unsigned int*' [-Wformat=]
main.cpp:17:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for(o=i=1;i<=m;i++)
~^~
main.cpp:11:92: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in","r",stdin),freopen("dijkstra.out","w",stdout),scanf("%d%d",&n,&m);
^
main.cpp:11:92: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:11:92: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:13:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&g[i].a,&g[i].b,&g[i].c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 3ms | 131kb | Incorect | 0 |
| 4 | 4ms | 131kb | Incorect | 0 |
| 5 | 21ms | 262kb | Incorect | 0 |
| 6 | 38ms | 393kb | Incorect | 0 |
| 7 | 50ms | 655kb | Incorect | 0 |
| 8 | 126ms | 1310kb | Incorect | 0 |
| 9 | 69ms | 786kb | Incorect | 0 |
| 10 | 189ms | 1835kb | Incorect | 0 |
| Punctaj total | 10 |