Pagini recente » Borderou de evaluare (job #2302317) | Borderou de evaluare (job #1420561) | Borderou de evaluare (job #1621203) | Borderou de evaluare (job #2118890) | Borderou de evaluare (job #2302327)
Borderou de evaluare (job #2302327)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(!v[g[i][j]])
^
main.cpp:6:98: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in","r",stdin),freopen("bellmanford.out","w",stdout),scanf("%d%d",&n,&m);
^
main.cpp:6:98: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:6:98: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:8:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&k,&l,&r),w[k]++;
^
main.cpp:15:74: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fclose(stdin),freopen("bellmanford.in","r",stdin),scanf("%d%d",&n,&m);
^
main.cpp:15:74: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:17:61: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&k,&l,&r),g[k][w[k]]=l,h[k][w[k]++]=r;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 5 | 5 |
| 2 | 2ms | 131kb | OK | 5 | 5 |
| 3 | 2ms | 131kb | OK | 5 | 5 |
| 4 | 2ms | 131kb | OK | 5 | 5 |
| 5 | 4ms | 262kb | OK | 5 | 5 |
| 6 | 2ms | 131kb | OK | 5 | 10 |
| 7 | 6ms | 262kb | OK | 5 |
| 8 | 78ms | 3014kb | OK | 5 | 15 |
| 9 | 94ms | 1310kb | OK | 5 |
| 10 | 7ms | 262kb | OK | 5 |
| 11 | 133ms | 4587kb | OK | 5 | 20 |
| 12 | 200ms | 2228kb | OK | 5 |
| 13 | 140ms | 2490kb | OK | 5 |
| 14 | 261ms | 3014kb | OK | 5 |
| 15 | 334ms | 3801kb | OK | 5 | 15 |
| 16 | 264ms | 3407kb | OK | 5 |
| 17 | 18ms | 1179kb | OK | 5 |
| 18 | 385ms | 6160kb | OK | 5 | 15 |
| 19 | 476ms | 6553kb | OK | 5 |
| 20 | 34ms | 1179kb | OK | 5 |
| Punctaj total | 100 |