Pagini recente » Borderou de evaluare (job #1491583) | Cod sursa (job #2067246) | Borderou de evaluare (job #1606229) | Borderou de evaluare (job #3005271) | Borderou de evaluare (job #1491653)
Borderou de evaluare (job #1491653)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int, int)’:
user.cpp:33:9: warning: unused variable ‘nr’ [-Wunused-variable]
int nr=0,nrcomp=0,nr1=0,nr2=0,nr3=0;
^
user.cpp: In function ‘int main()’:
user.cpp:95:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rutier.in", "r", stdin);
^
user.cpp:96:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rutier.out", "w", stdout);
^
user.cpp:98:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:101:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&edge[i].x,&edge[i].c);
^
user.cpp:106:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:107:78: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=m;i++) scanf("%d%d%d",&edge1[i].x,&edge1[i].y,&edge1[i].c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 336kb | OK | 5 |
| 2 | 0ms | 336kb | OK | 5 |
| 3 | 0ms | 352kb | OK | 5 |
| 4 | 4ms | 364kb | OK | 5 |
| 5 | 400ms | 2712kb | OK | 5 |
| 6 | 408ms | 2252kb | OK | 5 |
| 7 | 292ms | 1564kb | OK | 5 |
| 8 | Depăşit | 4060kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 4064kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 5608kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 5620kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 5620kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 5616kb | Time limit exceeded. | 0 |
| 14 | 980ms | 1920kb | OK | 5 |
| 15 | 1112ms | 2132kb | OK | 5 |
| 16 | Depăşit | 3212kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 4408kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 4908kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 5472kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 5620kb | Time limit exceeded. | 0 |
| Punctaj total | 45 |