Pagini recente » Cod sursa (job #601435) | Cod sursa (job #601433) | Borderou de evaluare (job #2404395) | Atasamentele paginii Profil GeorgeNr1 | Borderou de evaluare (job #1384951)
Borderou de evaluare (job #1384951)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:22:14: warning: overflow in implicit constant conversion [-Woverflow]
best[i]=INF;
^
user.cpp: In function ‘void solve()’:
user.cpp:47:26: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
for (int i=1;i<=(1<<k+1)-1;i++)
^
user.cpp:49:19: warning: overflow in implicit constant conversion [-Woverflow]
mi[j][i]=INF;
^
user.cpp:50:26: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
for (int i=1;i<=(1<<k+1)-1;i++)
^
user.cpp:56:28: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
printf("%d",mi[k][(1<<k+1)-1]);
^
user.cpp: In function ‘int main()’:
user.cpp:60:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.in","r",stdin);
^
user.cpp:61:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.out","w",stdout);
^
user.cpp:63:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&m,&k);
^
user.cpp:65:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&nod[i]);
^
user.cpp:71:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&d);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 5 |
| 2 | 0ms | 292kb | OK | 5 |
| 3 | 0ms | 308kb | OK | 5 |
| 4 | 0ms | 344kb | Incorect | 0 |
| 5 | 0ms | 348kb | Incorect | 0 |
| 6 | 0ms | 396kb | OK | 5 |
| 7 | 0ms | 424kb | Incorect | 0 |
| 8 | 0ms | 432kb | OK | 5 |
| 9 | 4ms | 608kb | OK | 5 |
| 10 | 8ms | 840kb | Incorect | 0 |
| 11 | 20ms | 1332kb | OK | 5 |
| 12 | 20ms | 1336kb | OK | 5 |
| 13 | 44ms | 2372kb | OK | 5 |
| 14 | 100ms | 4608kb | OK | 5 |
| 15 | 228ms | 9160kb | OK | 5 |
| 16 | 228ms | 9204kb | Incorect | 0 |
| 17 | 228ms | 9232kb | OK | 5 |
| 18 | 232ms | 9264kb | Incorect | 0 |
| 19 | 240ms | 9340kb | OK | 5 |
| 20 | 0ms | 296kb | OK | 5 |
| Punctaj total | 70 |