Pagini recente » Borderou de evaluare (job #892613) | Borderou de evaluare (job #2211896) | Borderou de evaluare (job #237011) | Borderou de evaluare (job #135446) | Borderou de evaluare (job #1300296)
Borderou de evaluare (job #1300296)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:78:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in", "rt", stdin);
^
user.cpp:79:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out", "wt", stdout);
^
user.cpp:81:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:82:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; ++i) scanf("%d", &x), friends[i]=x;
^
user.cpp:84:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:87:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &x, &y, &t, &w);
^
user.cpp: In function ‘bool bfs(int)’:
user.cpp:60:25: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(j==n && times[nod][W]<time_nec) time_nec=times[nod][W];
^
user.cpp: In function ‘int main()’:
user.cpp:60:25: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:32:12: note: ‘j’ was declared here
int i, j, ww, tt, nod, p, W;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 528kb | Incorect | 0 |
| 2 | 4ms | 628kb | Incorect | 0 |
| 3 | 0ms | 492kb | Incorect | 0 |
| 4 | 0ms | 536kb | Incorect | 0 |
| 5 | 4ms | 584kb | Incorect | 0 |
| 6 | 4ms | 536kb | Incorect | 0 |
| 7 | 8ms | 548kb | Incorect | 0 |
| 8 | 0ms | 540kb | Incorect | 0 |
| 9 | 0ms | 300kb | Incorect | 0 |
| 10 | 0ms | 508kb | Incorect | 0 |
| Punctaj total | 0 |